<?php
/**
 * Created by PhpStorm.
 * User: guokunsheng
 * Date: 2018/10/24
 * Time: 15:29
 */

use think\Env;

$envHost = Env::get('hosts.name');
$oneMonthTime = 2678400;// 86400 * 31
$sevenTime = 604800; // 86400 * 7
$threeTime = 259200; // 86400 * 3
return [
    'switch' => Env::get('cache.switch'),// 是否使用redis缓存
    'cache_time' => Env::get('cache.cache_time'),// 文章缓存时间单位 /s 秒
    'expire' => $threeTime, //详情 3天过期时间
    'list_expire' => 0, //列表ids 永不过期

    /**
     * 配置信息
     */
    'config' => [
        /**
         * app配置
         */
        'app' => [
            'details' => 'config:app:[ID]', // ID = 对应的配置名称
            'list_details' => 'config:app:[ID]',
            'expire' => $threeTime, // 3天过期时间
            'cacheType' => 'string',
        ],
        /**
         * 版本信息
         */
        'version' => [
            'details' => 'config:new_version2:[ID]', // ID = ios:1.9.3
            'list_details' => 'config:new_version2:[ID]',// ID = ios:1.9.3
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 占星师APP版本信息
         */
        'astro_version' => [
            'details' => 'config:astro_version:[ID]', // ID = ios:1.9.3
            'list_details' => 'config:astro_version:[ID]',// ID = ios:1.9.3
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 系统配置
         */
        'system' => [
            'details' => 'system:config',
            'expire' => $sevenTime,
        ],
        /**
         * ios支付
         */
        'apple_pay' => [
            'details' => 'system:apple_pay',
            'expire' => $sevenTime,
        ],
        /**
         * 内部VIP配置
         */
        'admin_vip' => [
            'details' => 'config:admin:vip:[ID]', // ID=type,  type=>1|2|3
            'expire' => $sevenTime,
        ],
        /**
         * 档案更新状态 用户档案更新通知
         */
        'cache_update_status' => 'recode:update:status_notify',
        'notice' => [
            'list' => 'config:notice:list:[ID]',//ID=>app_type:version
            'details' => 'config:notice:info1:[ID]', // 小程序ID
            'list_details' => 'config:notice:info1:[ID]', //小程序用户ID
            'expire' => $threeTime, // 3天过期时间,
        ],
    ],
    'wechat' => [
        'wechat' => [
            'details' => 'wechat:info:[ID]', // ID = unionid-1 / uid-2
            'list_details' => 'wechat:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
    ],
    /**
     * 用户模块
     */
    'user' => [
        /**
         * 用户信息
         */
        'user_info' => [
            'details' => 'user:user_info:info:[ID]', // ID = uid
            'list_details' => 'user:user_info:info:[ID]',
            'expire' => 86400, // 3天过期时间
        ],
        /**
         * 用户VIP等级
         */
        'user_vip' => [
            'details' => 'user:vip:info2:u[ID]', // ID = uid
            'list_details' => 'user:vip:info2:u[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 用户开通VIP总人数
         */
        'vip_total' => [
            'details' => 'user:vip:num:total',
            'cacheType' => 'string',
            'expire' => 1800, // 60s过期时间 ->上线后改成1800
        ],
        /**
         * 用户VIP星力值成长明细
         */
        'user_vip_star_num_record' => [
            'list' => 'user:vip:star_num:record:list:[ID]', //ID = date('Ymd') . ':' . uid
            'details' => 'user:vip:star_num:record:info:[ID]',
            'list_details' => 'user:vip:star_num:record:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 活动优惠券领取记录
         */
        'coupon_active_give_record' => [
            'list' => 'user:coupon:active:give_record:list:[ID]', //ID = uid:0
            'details' => 'user:coupon:active:give_record:info:[ID]',
            'list_details' => 'user:coupon:active:give_record:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间
        ],
        /**
         * 用户生日权益领取记录
         */
        'coupon_birthday_boon_give_record' => [
            'details' => 'user:coupon:birthday_boon:give_record:[ID]', // ID = uid
            'list_details' => 'user:coupon:birthday_boon:give_record:[ID]', // ID = uid
            'cacheType' => 'string',
            'expire' => $sevenTime, // 7天过期时间
        ],
        /**
         * 用户是否领赠送过新手礼包
         */
        'register_package_send_recode' => [
            'details' => 'user:coupon:register_package:send_recode:[ID]', // ID = uid
            'list_details' => 'user:coupon:register_package:send_recode:[ID]', // ID = uid
            'cacheType' => 'string',
            'expire' => $sevenTime, // 7天过期时间
        ],
        /**
         * 用户生日祝福
         */
        'birthday_wish' => [
            'details' => 'user:birthday:wish:info:[ID]', // ID = 祝福表ID
            'list_details' => 'user:birthday:wish:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间
        ],
        /**
         * 用户今日任务完成信息
         */
        'task_success_today' => [
            'details' => 'user:task:success:today:[ID]',//ID = date('Ymd') . ':' . uid
            'list_details' => 'user:task:success:today:[ID]',
            'expire' => 86400, // 一天过期时间
        ],
        /**
         * 用户每月获取的星力值总数
         */
        'star_num_monthly_limit' => [
            'list' => 'user:star_num:monthly_limit1:[ID]', // ID = date('Y-m')
            'expire' => $oneMonthTime, // 一个月过期时间
        ],
        /**
         * 用户优惠券
         */
        'coupon' => [
            'list' => 'user:coupon:list:[ID]', // ID = uid:type ,type=>1未使用 2可赠与 3已失效
            'details' => 'user:coupon:info:[ID]',
            'list_details' => 'user:coupon:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
            'list_expire' => $sevenTime, //列表ids 永不过期
        ],
        /**
         * 用户优惠券赠送记录
         */
        'coupon_give_record' => [
            'list' => 'user:coupon:give_record:list:[ID]', // ID = uid:0
            'details' => 'user:coupon:give_record:info:[ID]',
            'list_details' => 'user:coupon:give_record:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 最近开通vip的用户（最多20条）
         */
        'lately_vip_users' => [
            'all' => 'user:lately_vip_users:all',
            'cacheType' => 'string',
            'expire' => 1800, // 60s过期时间 ->上线后改成1800s
        ],
        /**
         * 用户qq
         */
        'qq' => [
            'details' => 'user:qq:info:[ID]',//ID = unionid-1 / uid-2
            'list_details' => 'user:qq:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 用户微博
         */
        'weibo' => [
            'details' => 'user:weibo:info:[ID]',//ID = wbuid-1 / uid-2
            'list_details' => 'user:weibo:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 用户Apple
         */
        'apple' => [
            'details' => 'user:apple:info:[ID]',//ID = 苹果登陆用户唯一标识
            'list_details' => 'user:apple:info:[ID]',
            'uid_bind_appleid' => 'user:apple:bind_apple_id:[ID]', // ID = uid    string 类型
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 用户登录日志
         */
        'login_log' => [
            'details' => 'user:login_log:info:[ID]',//ID = uid
            'list_details' => 'user:login_log:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 准币钱包
         */
        'coin' => [
            'details' => 'user:coin:info:[ID]',//ID = uid
            'list_details' => 'user:coin:info:[ID]',
            'today_password_error_num' => 'user:coin:password_error_num:', //当天密码已经错误次数 user:coin:password_error_num:日期【20201207】:用户ID
            'today_password_error_max_num' => 5, // 当天密码错误最大次数
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 准币明细
         */
        'coin_detail' => [
            'list' => 'user:coin_detail:list1:[ID]',//ID = uid:0
            'details' => 'user:coin_detail:info3:[ID]',
            'list_details' => 'user:coin_detail:info3:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 推送设备ID
         */
        'push_regid' => [
            'details' => 'user:push:regid:[ID]',   // ID = uid
            'expire' => $sevenTime,  // 7天过期时间
        ],
        /**
         * 消息中心
         */
        'message' => [
            'list' => 'user:message:list:[ID]',//ID = uid:type (1=>系统消息，2=>服务消息)
            'details' => 'user:message:info:[ID]',
            'list_details' => 'user:message:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 未读的消息
         */
        'unread_message' => [
            'list' => 'user:unread_message:list:[ID]',//ID = uid:type (1=>系统消息，2=>服务消息)
            'details' => 'user:message:info:[ID]',
            'list_details' => 'user:message:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 用户收藏
         */
        'collect' => [
            'list' => 'user:collect:list:[ID]',//ID = uid:type (0=>所有 1=>星文，2=>女神动态，3=>女神专区)
            'details' => 'user:collect:info:[ID]',
            'list_details' => 'user:collect:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 已读的回复
         */
        'read_reply' => [
            'list' => 'user:read_reply:list:[ID]',//ID = uid
        ],
        /**
         * 用户地址
         */
        'address' => [
            'list' => 'user:address:list:[ID]',//ID = uid
            'details' => 'user:address:info:[ID]',
            'list_details' => 'user:address:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间
        ],
        /**
         * 用户合盘记录
         */
        'synastry' => [
            'list' => 'user:synastry1:list:[ID]',//ID = uid 用户id
            'famous_person_list' => 'user:synastry:famous_person:list:[ID]',//ID = uid 用户id
            'details' => 'user:synastry3:info:[ID]',//ID = id 合盘表主键id
            'list_details' => 'user:synastry3:info:[ID]',//ID = id 合盘表主键id
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 运势提升
         */
        'fortune_up' => [
            'details' => 'user:fortune_up:day:[ID]', // ID = rid:time 档案ID:日期【20201012】
            'cacheType' => 'string',
            'expire' => 86400, // 1天有效期
        ],
        /**
         * 登陆日志
         */
        'login_record' => [
            'list' => 'user:login_record:list:[ID]',//ID = uid 用户id
            'details' => 'user:login_record:info:[ID]',//ID = id 登陆日志ID
            'list_details' => 'user:login_record:info:[ID]',//ID = id 登陆日志ID
            'expire' => $sevenTime, // 7天过期时间
        ],
        /**
         * 用户合盘报告
         */
        'synastry_report' => [
            'list' => 'user:synastry_report:list2:[ID]',//ID = uid:gid (全部合盘列表) ID=uid:gid:rid1_rid2 (双人合盘报告列表)
            'details' => 'user:synastry_report:info2:[ID]',//ID = id 合盘表主键id
            'details2' => 'user:synastry_report:back_recode:info:[ID]',//ID = id 订单编号
            'list_details' => 'user:synastry_report:info2:[ID]',//ID = id 合盘表主键id
            'expire' => 28800, // 7天过期时间
        ],
        /**
         * 用户首次访问
         */
        'visit' => [
            'list' => 'user:visit:list:[ID]',//ID = uid 用户id
            'details' => 'user:visit:info:[ID]',//ID = uid:type 用户ID:功能类型ID
            'list_details' => 'user:visit:info:[ID]',//ID = uid:type 用户ID:功能类型ID
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 通过uen准了号获取用户uid
         */
        'uen2uid' => [
            'details' => 'user:uen2uid:[ID]',  // ID=准了号
            'cacheType' => 'string',
            'expire' => $sevenTime, // 7天过期时间
        ],
        /**
         * 准时 提醒
         */
        'time_note' => [
            'list' => 'user:time_note:list:[ID]',//ID = uid
            'details' => 'user:time_note:info:[ID]',
            'list_details' => 'user:time_note:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间
        ],
        /**
         * 神秘惊喜记录
         */
        'surprise_record' => [
            'list' => 'user:surprise_record:list:[ID]',//ID = uid:[date]【日期20221101】
            'details' => 'user:surprise_record:info:[ID]',
            'list_details' => 'user:surprise_record:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间
            'list_expire' => $sevenTime, // 7天过期时间
        ],
        /**
         * 用户 数据 状态信息
         */
        'data_type_status' => [
            'details' => 'user:data_type_status:info:[ID]',
            'list_details' => 'user:data_type_status:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间
        ],
        'blacklist' => [
            'list' => 'user:blacklist:list:[ID]',//ID = uid
            'details' => 'user:blacklist:info:[ID]', //ID = id
            'list_details' => 'user:blacklist:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间
        ],
        //关注
        'follow' => [
            'list' => 'user:follow:list:[ID]',//ID = uid
            'details' => 'user:follow:info:[ID]', //ID = uid:type (1=>咨询师)
            'list_details' => 'user:follow:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间
        ],
        //设备号
        'device_info' => [
            'details' => 'user:device_info:info:[ID]', //ID = uid
            'expire' => $sevenTime, // 7天过期时间
        ],
        //设备封禁
        'forbid_device_info' => [
            'details' => 'user:forbid_device_info:info:[ID]', //ID = device_id
            'expire' => $sevenTime, // 7天过期时间
        ],

        /**
         * 我的连线咨询礼包
         */
        'voice_consult_gift' => [
            'list' => 'user:voice_consult_gift:list:[ID]',//ID = uid
            'details' => 'user:voice_consult_gift:info:[ID]',   // 我的连线咨询礼包ID
            'list_details' => 'user:voice_consult_gift:info:[ID]',
            'user_pay_gift_num' => 'user:user_pay_gift_num:info:[ID]',  // 用户购买礼包数量
            'recent_pay_gift_user_info' => 'user:recent_pay_gift_user_info:info',  // 用户最近购买礼包信息
            'expire' => $sevenTime, // 7天过期时间
        ],

        /**
         * 我的连线咨询礼包 使用记录
         */
        'voice_consult_gift_use_record' => [
            'list' => 'user:voice_consult_gift_use_record:list:[ID]',//ID = 我的连线咨询礼包ID
            'details' => 'user:voice_consult_gift_use_record:info:[ID]',   // 使用记录ID
            'list_details' => 'user:voice_consult_gift_use_record:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间
        ],
    ],
    /**
     * 活动模块
     */
    'active' => [
        'active' => [
            'list' => 'active:[ID]', //ID = goods_type:gid(默认0) , goods_type=> 1=>生时矫正 2=>日运 3=>月运 4=>年运 5=>占星地图 6=>占星视频 7=>本命预测 ，8=>vip,9=>准币
            'details' => 'active:info:[ID]',
            'list_details' => 'active:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
            'cacheType' => 'string',
        ],
        /**
         * 个人中心广告
         */
        'center_advert' => [
            'details' => 'active:advert:info:[ID]', // ID = ios:1.9.4
            'cacheType' => 'string',
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 春节活动抢券
         */
        'year_give_coupon' => [
            'details' => 'active:year_give_coupon:info:[ID]', // ID = 2022
            'user_is_give_coupon' => 'active:user_is_give_coupon:info:[ID]', // ID = 2022:uid
            'user_is_exchange_coupon' => 'active:user_is_exchange_coupon:info:[ID]', // ID = 2022:uid
            'give_coupon_uids' => 'active:year_give_coupon:list:[ID]', // ID = 2022:101311
            'expire' => $sevenTime, // 7天过期时间
        ],
        /**
         * 春节集字
         */
        'year_text' => [
            'details' => 'active:user_year_text:info:[ID]', // ID = uid
            'user_is_sign_in' => 'active:user_is_sign_in:info:[ID]', // ID = 2022:uid
            'user_is_share' => 'active:user_is_share:info:[ID]', // ID = 2022:uid
            'user_new_text' => 'active:user_new_text:list:[ID]', // ID = 2022:uid
            'expire' => $sevenTime, // 7天过期时间
        ],
        /**
         * 活动签到
         */
        'active_sign_in' => [
            'details' => 'active:active_sign_in:info:[ID]', //ID = active_flag:uid
            'list_details' => 'active:active_sign_in:info:[ID]',
            'expire' => $sevenTime, // 3天过期时间
        ],
        /**
         * 活动获得优惠券
         */
        'give_coupon' => [
            'details' => 'active:give_coupon:info:[ID]', //ID = active_flag:uid:type[1=>签到领券  2=>助力领券]
            'list_details' => 'active:give_coupon:info:[ID]',
            'expire' => $sevenTime, // 3天过期时间
        ],
        /**
         * 助力活动
         */
        'user_help' => [
            'details' => 'active:user_help:info:[ID]', //ID = 助力ID
            'user_help_id' => 'active:user_help:id:[ID]', //ID = active_flag:uid:type[1=>恋爱报告助力  2=>婚姻报告助力 3=>合盘报告助力]
            'list_details' => 'active:user_help:info:[ID]',
            'expire' => $sevenTime, // 3天过期时间
        ],
        /**
         * 助力记录
         */
        'help_recode' => [
            'list' => 'active:help_recode:list:[ID]', //ID = 助力ID
            'details' => 'active:help_recode:info:[ID]', //ID = 记录ID
            'user_help_id' => 'active:user_help_id:info:[ID]', //ID = active_flag:uid
            'list_details' => 'active:help_recode:info:[ID]',
            'expire' => $sevenTime, // 3天过期时间
        ],
        /**
         * 年运活动抽奖次数
         */
        'fortune_year_2022_award' => [
            'details' => 'active:fortune_year_award:info:[ID]', //ID = active_id:uid
            'list_details' => 'active:fortune_year_award:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间
        ],
        /**
         * 2024-07-18服务异常 补偿活动
         */
        'compensation_give_record' => [
            'details' => 'active:compensation_give_record:info:[ID]', //ID = uid
            'list_details' => 'active:compensation_give_record:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间
        ],
    ],
    /**
     * 首页模块
     */
    'index' => [
        /**
         * 按钮
         */
        'index_btns' => [
            'details' => 'index:btns:[ID]',// ID = 1.9.4:ios
            'cacheType' => 'string',
        ],
        /**
         * 版本首页按钮
         */
        'index_button_cat' => [
            'details' => 'index:button:cat:[ID]',// ID = 1.9.4:ios
            'cacheType' => 'string',
        ],
        /**
         * 首页轮播信息
         */
        'slide' => [
            'list' => 'index:slide:list:[ID]',//ID = 版本
            'details' => 'index:slide:info:[ID]',
            'list_details' => 'index:slide:info:[ID]',
            'expire' => $threeTime, // 3天过期时间,
        ],
        /**
         * 首页AB测试 信息
         */
        'index_ab_log' => [
            'details' => 'index:index_ab_log:info:[ID]',
            'list_details' => 'index:index_ab_log:info:[ID]',
            'expire' => 86410, // 1天过期时间,
        ],
    ],
    /**
     * 运势模块
     */
    'fortune' => [
        /**
         *  运势模块 ---- 首页运势信息
         */
        'fortune_home' => [
            'details' => 'fortune:home:[ID]',//ID = rid:时间戳
            'expire' => 86400, // 1天过期时间
        ],
        /**
         *  运势模块 ---- 日运势信息
         */
        'fortune_day' => [
            'details' => 'fortune:day2:[ID]',//ID = rid:时间戳
            'expire' => 28800, // 1天过期时间
        ],
        /**
         *  运势模块 ---- 许愿信息
         */
        'pray_day' => [
            'details' => 'fortune:pray:day:[ID]', // ID=uid:rid:20190701
            'expire' => 86400, // 1天过期时间
        ],
        /**
         *  运势模块 ---- 日运势笔记
         */
        'fortune_day_note' => [
            'list' => 'fortune:day:note:list:[ID]',//ID = uid:0 0=>全部 1=>运势笔记旧版 2=>心情笔记版
            'all_ids' => 'fortune:day:note:all_ids:[ID]',//ID = uid:0 0=>全部 1=>运势笔记旧版 2=>心情笔记版 (包含已删除数据)
            'recent_info' => 'fortune:day:note:recent_info:[ID]',//ID = type  1=>近7天 2=>近30天
            'details' => 'fortune:day:note1:[ID]',
            'list_details' => 'fortune:day:note1:[ID]',
            'expire' => 86400, // 3天过期时间
            'cacheType' => 'hash',
        ],
        /**
         *  运势模块 ---- 日运势设置
         */
        'fortune_day_setting' => [
            'details' => 'fortune:day:setting:[ID]',//ID =uid:0
            'expire' => $threeTime, // 3天过期时间
            'cacheType' => 'hash',
        ],
        /**
         * 月运势信息
         */
        'fortune_month' => [
            'details' => 'fortune:month:[ID]',//ID= rid:2019-07
            'details_v2' => 'fortune:month:details:v2:[ID]',//ID= rid:2019-07
            'list_v2' => 'fortune:month:unlock:list:[ID]', // ID= rid
            'list_details' => 'fortune:month:[ID]',//ID= rid:2019-07
            'list_details_v2' => 'fortune:month:details:v2:[ID]',//ID= rid:2019-07
            'current_month_vip_unlock_is_used' => 'fortune:current_month_vip_unlock_is_used:[ID]',  // ID=uid:month（202401） 会员用户 本月会员权益解锁使用已使用
            'month_vip_reunlock_is_used' => 'fortune:month_vip_reunlock_is_used:[ID]',  // ID=uid 会员用户 月运免费重新计算权益是否已使用
            'expire' => 28800, // 7天过期时间
            'cacheType' => 'string',
        ],
        /**
         *  运势模块 ---- 备份档案
         */
        'back_recode' => [
            'details' => 'fortune:month_back_recode:[ID]',//ID =订单编号
            'details2' => 'fortune:year_back_recode:[ID]',//ID =订单编号
            'expire' => $threeTime, // 3天过期时间
            'cacheType' => 'hash',
        ],
        /**
         * 精简版月运势信息
         */
        'sim_fortune_month_unlock_num' => [
            'details' => 'fortune:month:sim:unlock_num',
            'expire' => $sevenTime, // 7天过期时间
            'cacheType' => 'string',
        ],
        /**
         * 年运势信息
         */
        'fortune_year' => [
            'details' => 'fortune:year:[ID]',//ID= rid:2019
            'details_v2' => 'fortune:year:details:v2:[ID]',//ID= rid:2019-07
            'list_v2' => 'fortune:year:unlock:list:[ID]', // ID= rid
            'list_details' => 'fortune:year:[ID]',//ID= rid:2019-07
            'list_details_v2' => 'fortune:year:details:v2:[ID]',//ID= rid:2019-07
            'expire' => 28800, // 7天过期时间
        ],
        /**
         * 用户年运反馈
         */
        'user_fortune_year_feedback' => [
            'details' => 'fortune:user_fortune_year_feedback:[ID]',//ID= rid:2019
            'expire' => $sevenTime, // 7天过期时间
        ],
        /**
         * 运势海报分享图片
         */
        'share_photo' => [
            'details' => 'fortune:share_photo:[ID]',//ID= 运势分享风格    1=>运势分享风格1  2=>运势分享风格3
            'expire' => $sevenTime, // 7天过期时间
            'cacheType' => 'string',
        ],
        'poster_share_active' => [
            'list' => 'fortune:poster_share_active:list:w[ID]',//ID = 获取周期  投票列表    fortune:poster_share_active:list:w1:[0]
            'ranking' => 'fortune:poster_share_active:ranking:w[ID]',//ID = 获取周期    排行榜列表   fortune:poster_share_active:ranking:w1
            'zan_record' => 'fortune:poster_share_active:zan_record:[ID]',//ID = 用户uid  // 用户点赞列表   fortune:poster_share_active:zan_record:123
            'virtual' => 'fortune:poster_share_active:virtual:[ID]',//ID = 获取周期  // 虚拟海报列表   fortune:poster_share_active:virtual:1
            'today' => 'fortune:poster_share_active:today:[ID]',//ID = 今日日期  // 今日上传列表   fortune:poster_share_active:today:20211227
            'user_read' => 'fortune:poster_share_active:user_read:[ID]',//ID = uid  // 用户已读海报ids   fortune:poster_share_active:user_read:123
            'user_join_record' => 'fortune:poster_share_active:user_join_record:[ID]',//ID = 用户uid      // 用户参与列表 fortune:poster_share_active:user_join_record:123
            'details' => 'fortune:poster_share_active:info:[ID]',
            'list_details' => 'fortune:poster_share_active:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间
            'list_expire' => 86400, // 1天过期时间
            'cacheType' => 'hash',
        ],
        /**
         * 转运卡牌
         */
        'tarot_card' => [
            'list' => 'fortune:tarot_card:list:[ID]',    //   ID=星运内容ID:[0]
            'today_card_id' => 'fortune:tarot_card:today_card_id:[ID]',    // 用户发布的动态列表   ID=UID:日期【20221010】
            'details' => 'fortune:tarot_card:info:[ID]', // 动态ID
            'list_details' => 'fortune:tarot_card:info:[ID]', //动态ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $sevenTime, //列表ids
        ],
        /**
         * 转运卡牌 词条
         */
        'tarot_card_text' => [
            'details' => 'fortune:tarot_card_text:info:[ID]', // 卡牌ID
            'list_details' => 'fortune:tarot_card_text:info:[ID]', //卡牌ID
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 幸运结缘
         */
        'lucky_partner' => [
            'lucky_partner_rid' => 'fortune:lucky_partner:rid:[ID]',    // uid
            'lucky_partner' => 'fortune:lucky_partner:info:[ID]',    // uid
            'details' => 'fortune:lucky_partner:info:[ID]', // UID
            'list_details' => 'fortune:lucky_partner:info:[ID]', //UID
            'expire' => $threeTime, // 7天过期时间,
            'list_expire' => $threeTime, //列表ids
        ],
        /**
         * 年运信息分析
         */
        'fortune_year_analysis' => [
            'details' => 'fortune:fortune_year_analysis:details:[ID]',//ID= rid:2019
            'list_details' => 'fortune:fortune_year_analysis:details:[ID]',//ID= rid:2019-07
            'details_back_recode' => 'fortune:fortune_year_analysis:back_recode:[ID]',// ID=订单编号
            'expire' => $threeTime, // 7天过期时间
        ],
        /**
         * 年运信息分析  显示小红点
         */
        'fortune_year_analysis_is_new' => [
            'details' => 'fortune:fortune_year_analysis_is_new:details:[ID]',//ID= uid
            'list_details' => 'fortune:fortune_year_analysis_is_new:details:[ID]',//ID= uid
            'expire' => $threeTime, // 7天过期时间
        ],
    ],
    /**
     * 星盘相关
     */
    'astro' => [
        'change' => [
            'details' => 'astro:change:[ID]',//ID = time, time=>20191207
            'cacheType' => 'string',
            'expire' => 86400, // 1天过期时间
        ],
        // APP天象日历 日天象信息 随时区变化
        'change_day_timezone' => [
            'details' => 'astro:change:day:timezone:[ID]',//ID = time:时区, ID=>20191207:[8]
            'cacheType' => 'string',
            'expire' => 86400, // 1天过期时间
        ],
        // APP天象日历 月天象变动信息 随时区变化
        'change_month_timezone' => [
            'details' => 'astro:change:month:timezone:[ID]',//ID = time:时区, ID=>201912:[8]
            'cacheType' => 'string',
            'expire' => $sevenTime, // 7天过期时间
        ],
        // 天象信息 天象变化词条
        'change_text' => [
            'details' => 'astro:change:text:[ID]',//ID = type_pid_sid_hid_speed, ID=1_2_3_7_1
            'expire' => $threeTime, // 3天过期时间
            'cacheType' => 'string',
        ],
        // 天象日历推荐商品
        'calendar_goods' => [
            'details' => 'astro:calendar:goods:[ID]',//ID = time time=>20200606
            'cacheType' => 'string',
            'expire' => 600, // 10分钟过期时间
        ],
    ],
    /**
     * 商品模块
     */
    'goods' => [
        //旧商品表
        'goods' => [
            'list' => 'goods:[ID]',//ID = goods_type:gid(默认0) , goods_type=> 1=>生时矫正 2=>日运 3=>月运 4=>年运 5=>占星地图 6=>占星视频 7=>本命预测 ，8=>vip,9=>准币
            'details' => 'goods:info3:[ID]',
            'list_details' => 'goods:info3:[ID]',
            'expire' => $threeTime, // 3天过期时间
            'cacheType' => 'hash',
        ],
        //商品类型
        'mall_goods_type' => [
            'list' => 'goods:mall_goods_type:[ID]',//ID 无
            'details' => 'goods:mall_goods_type:info:[ID]',
            'list_details' => 'goods:mall_goods_type:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
            'cacheType' => 'hash',
        ],
        //新商品表
        'mall_goods' => [
            'list' => 'goods:mall_goods2:[ID]',//ID = 商品类型
            'details' => 'goods:mall_goods2:info:[ID]',
            'list_details' => 'goods:mall_goods2:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
            'cacheType' => 'hash',
        ],
        //商品属性规格
        'mall_goods_attr' => [
            'list' => 'goods:mall_goods_attr:[ID]',//ID = gid
            'details' => 'goods:mall_goods_attr:info:[ID]',
            'list_details' => 'goods:mall_goods_attr:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
            'cacheType' => 'hash',
        ],
        'mall_goods_content' => [
            'details' => 'goods:mall_goods_content:info:[ID]',//ID= gid
            'list_details' => 'goods:mall_goods_content:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
            'cacheType' => 'string',
        ],
        'mall_goods_tags' => [
            'details' => 'goods:mall_goods_tags:info:[ID]',//ID= gid
            'list_details' => 'goods:mall_goods_tags:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
            'cacheType' => 'string',
        ],
        'mall_goods_recommend' => [
            'details' => 'goods:mall_goods_recommend:info:[ID]',//ID= 商品推荐类型
            'list_details' => 'goods:mall_goods_recommend:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
    ],
    /**
     * 订单模块
     */
    'orders' => [
        'orders' => [
            'list' => 'orders:u[ID]',//ID = uid:0
            'details' => 'orders:info:[ID]',
            'list_details' => 'orders:info:[ID]',
            'expire' => 28800, // 3天过期时间
            'cacheType' => 'hash',
        ],
        'refund_order' => [
            'details' => 'refund_order:info:[ID]',//订单编号
            'list_details' => 'refund_order:info:[ID]',//订单编号
            'expire' => $threeTime, // 3天过期时间
            'cacheType' => 'hash',
        ],
        //获取已支付订单
        'orders_prepaid' => [
            'list' => 'orders:prepaid:[ID]',//ID = uid:type , type=>订单类型 1=>生时矫正 2=>日运 3=>月运 4=>年运 5=>占星地图 6=>占星视频 7=>本命预测 8=>vip
            'details' => 'orders:info:[ID]',
            'list_details' => 'orders:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
            'cacheType' => 'hash',
        ],
        //获取未支付订单
        'orders_unpaid' => [
            'list' => 'orders:unpaid:[ID]',//ID = uid:type , type=>订单类型 1=>生时矫正 2=>日运 3=>月运 4=>年运 5=>占星地图 6=>占星视频 7=>本命预测 8=>vip
            'details' => 'orders:info:[ID]',
            'list_details' => 'orders:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
            'cacheType' => 'hash',
        ],
        //获取订单已支付数量
        'orders_prepaid_num' => [
            'details' => 'orders:prepaid:num:[ID]',//ID = type:gid(默认0) , type=>订单类型 1=>生时矫正 2=>日运 3=>月运 4=>年运 5=>占星地图 6=>占星视频 7=>本命预测 8=>vip
            'expire' => $threeTime, // 3天过期时间
            'cacheType' => 'hash',
        ],
        //订单运势中间表
        'orders_fortune' => [
            'details' => 'orders:fortune:[ID]',
            'list_details' => 'orders:fortune:[ID]',
            'expire' => $threeTime, // 3天过期时间
            'cacheType' => 'hash',
        ],
        //订单商品中间表
        'orders_goods' => [
            'details' => 'orders:goods:[ID]',
            'list_details' => 'orders:goods:[ID]',
            'expire' => $threeTime, // 3天过期时间
            'cacheType' => 'hash',
        ],
        // 完成商品购买推荐
        'orderpay_recommend' => [
            'details' => 'orders:orderpay_recommend:[ID]',  // ID=gid
            'list_details' => 'orders:orderpay_recommend:[ID]', // ID=gid
            'expire' => $threeTime, // 3天过期时间
            'cacheType' => 'hash',
        ],
    ],
    /**
     * 课程模型
     */
    'course' => [
        //根据id获取课程
        'course_id' => [
            'list' => 'course:u[ID]',//ID = id:0
            'details' => 'course:id:info:[ID]',
            'list_details' => 'course:id:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
            'cacheType' => 'hash',
        ],
        //根据商品id获取课程
        'course_gid' => [
            'list' => 'course:u[ID]',//ID = gid:0
            'details' => 'course:gid:info:[ID]',
            'list_details' => 'course:gid:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
            'cacheType' => 'hash',
        ],
    ],
    /**
     * 校准生辰模型
     */
    'rectification' => [
        'rectification' => [
            'list' => 'rectification1:u[ID]',//ID= uid:0
            'details' => 'rectification:info:[ID]',
            'list_details' => 'rectification:info:[ID]',
            'expire' => 28800, // 3天过期时间
            'cacheType' => 'hash',
        ],
        //校准生辰事件
        'rectification_event' => [
            'details' => 'rectification:event:info:[ID]',//ID = reid
            'event_details' => 'rectification:event:detail:[ID]',//ID = id
            'list_details' => 'rectification:event:info:[ID]',//ID = reid
            'expire' => $threeTime, // 3天过期时间
            'cacheType' => 'hash',
        ],
        //校准生辰结果
        'rectification_result' => [
            'details' => 'rectification:result:info:[ID]',//ID = reid
            'list_details' => 'rectification:result:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
            'cacheType' => 'hash',
        ],
    ],
    /**
     * 档案模块
     */
    'recode' => [
        //用户档案带有日月升
        'recode' => [
            'list' => 'recode:u[ID]',//ID = uid:type , type=> 0=》全部档案 1=》自己的档案
            'details' => 'recode:info1:[ID]',
            'list_details' => 'recode:info1:[ID]',
            'expire' => $threeTime, // 3天过期时间
            'cacheType' => 'hash',
        ],
//        //用户自己的档案信息
//        'self_recode' => [
//            'list' => 'recode:self:u[ID]',//ID = uid:0
//            'details' => 'recode:info:[ID]',
//            'list_details' => 'recode:info:[ID]',
//            'expire' => $threeTime, // 3天过期时间
//            'cacheType' => 'hash'
//        ],
        'note' => [
            'list' => 'recode:note:u[ID]',//ID = uid:0
            'details' => 'recode:note:info:[ID]',
            'list_details' => 'recode:note:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
            'cacheType' => 'hash',
        ],
        'birth_list' => [
            'details' => 'recode:birth:list:timezone:[ID]',//ID = time:时区, ID=>201912:[8]
            'cacheType' => 'string',
            'expire' => $threeTime, // 3天过期时间
        ],
    ],
    /**
     * 优惠券模块
     */
    'coupon' => [
        /**
         * 使用规则
         */
        'use_range' => [
            'details' => 'coupon:use:range:[ID]',
            'expire' => $threeTime, // 3天过期时间
            'list_details' => 'coupon:use:range:[ID]',
            'cacheType' => 'hash',
        ],
        /**
         * 优惠券属性
         */
        'attr' => [
            'details' => 'coupon:attr:[ID]',
            'expire' => $threeTime, // 3天过期时间
            'list_details' => 'coupon:attr:[ID]',
            'cacheType' => 'hash',
        ],
        /**
         * 优惠券活动
         */
        'active' => [
            'details' => 'coupon:active:[ID]',
            'expire' => $threeTime, // 3天过期时间
            'cacheType' => 'string',
        ],
        'birth' => [
            'details' => 'coupon:birth:info1',
            'list_details' => 'coupon:birth:info1',
            'expire' => $threeTime, // 3天过期时间
            'cacheType' => 'string',
        ],
        'register_package' => [
            'details' => 'coupon:register_package:info1',
            'list_details' => 'coupon:register_package:info1',
            'expire' => $threeTime, // 3天过期时间
            'cacheType' => 'string',
        ],
    ],
    /**
     * 赠送模块
     */
    'award' => [
        'award_user' => [
            'list' => 'award:award_user:[ID]',//ID = uid:type ,type=> 1=》日运 2=》月运 3=》年运
            'details' => 'award:award_user:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
            'list_details' => 'award:award_user:info:[ID]',
            'cacheType' => 'hash',
        ],
        'award_goods' => [
            'list' => 'award:award_goods:[ID]',//ID = uid:type, type=> 1=>幸运之城,2=>教学视频,3=>优惠券,4=>VIP
            'details' => 'award:award_goods:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
            'list_details' => 'award:award_goods:info:[ID]',
            'cacheType' => 'hash',
        ],
    ],
    /**
     * 本命预测
     */
    'natal' => [
        'report' => [
            'details' => 'natal:report:[ID]',// ID=uid:rid 【natal:report:12345551:4921388】
            'details_v2' => 'natal:report:v2:[ID]',// ID=uid:rid 【natal:report:v2:12345551:4921388】
            'details_back_recode' => 'natal:report:back_recode:[ID]',// ID=订单编号
            'expire' => 28800, // 3天过期时间
            'cacheType' => 'hash',
        ],
        'report_text' => [
            'details' => 'natal:report:text:[ID]',// ID=code 【natal:report:text:13030108】
            'list_details' => 'natal:report:text:[ID]',
            'expire' => $threeTime, // 3天过期时间
            'cacheType' => 'string',
        ],
    ],
    /**
     * VIP模块
     */
    'vip' => [
        'vip_level' => [
            'list' => 'vip:level:list:[ID]',//ID = 0:type ,type=>  0全部 1待支付 已支付
            'details' => 'vip:level:info:[ID]', // ID = VIP等级
            'list_details' => 'vip:level:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
        'vip_boon' => [
            'details' => 'vip:boon:info1:[ID]', // 权益ID
            'list_details' => 'vip:boon:info1:[ID]',
            'expire' => $threeTime, // 3天过期时间
            'cacheType' => 'string',
        ],
        /**
         * 排行榜
         */
        'ranking' => [
            'list' => 'vip:ranking:list:[ID]',//ID = everyday
            'details' => 'vip:ranking:info:[ID]',
            'list_details' => 'vip:ranking:info:[ID]',
            'expire' => 86500, // 1 一天领100秒过去,
        ],
        /**
         * 常见问题
         */
        'common_problems' => [
            'all' => 'vip:common_problems:all',
            'details' => 'vip:common_problems:info:[ID]',
            'cacheType' => 'string',
            'expire' => $threeTime, // 3天过期时间
        ],
    ],
    /**
     * 推送accessToken缓存模型
     */
    'push_token' => [
        'details' => 'push:token:type:[ID]', // huawei=>5 xiaomi=>4 vivo=>3 oppo=>2 极光=> 1
        'list_details' => 'push:token:type:[ID]',
        'expire' => 3600, // 1 小时过期时间
        'cacheType' => 'string',
    ],
    /**
     * 推荐
     */
    'recommend' => [
        'recommend' => [
            'list' => 'recommend:[ID]',//ID = 1:goods_type. goods_type=> 1=>生时矫正 2=>日运 3=>月运 4=>年运 5=>占星地图 6=>占星视频 7=>本命预测  8=>vip会员
            'details' => 'recommend:info:[ID]',
            'list_details' => 'recommend:info:[ID]',
            'expire' => 3600, // 1 小时过期时间,
            'cacheType' => 'hash',
        ],
    ],
    /**
     * 小程序
     */
    'mini' => [
        'user' => [
            'details' => 'mini:user:[ID]',//ID = uid
            'expire' => $sevenTime, // 7天过期时间
        ],
        'sign' => [
            'details' => 'mini:sign:info:[ID]',//ID = mini_uid
            'expire' => 86400, // 1天过期时间
        ],
        'word' => [
            'details' => 'mini:word:[ID]',//ID = time, time=>20191207
            'cacheType' => 'string',
            'expire' => 86400, // 1天过期时间
        ],
        'astro' => [
            'details' => 'mini:astro:[ID]',//ID = time, time=>20191207
            'cacheType' => 'string',
            'expire' => 86400, // 1天过期时间
        ],
        /**
         * 小程序渠道缓存 wechat_backup_07_18_14_43_00.mini_channel
         */
        'channel' => [
            'details' => 'mini:channel:info:[ID]',//ID = 渠道ID
            'list_details' => 'mini:channel:info:[ID]',//ID = 渠道ID
            'expire' => $sevenTime, // 7天过期时间
        ],
    ],
    /**
     * 三方app模块
     */
    'third' => [
        'app' => [
            'details' => 'third:app:info:[ID]',
            'list_details' => 'third:app:info:[ID]',
            'expire' => 3600, // 1 小时过期时间,
            'cacheType' => 'hash',
        ],
    ],
    /**
     * 女神动态模块
     */
    'goddesss_state' => [
        'state' => [
            'list' => 'goddesss_state2:list:[ID]',// ID【1=>动态列表,2=>首页动态】:type【0=>全部,1=>视频,2=>语音,3=>文章】,ID为2时,type为0
            'list_expire' => 300, // 5分钟过期时间,
            'details' => 'goddesss_state:state2:info1:[ID]',
            'list_details' => 'goddesss_state:state2:info1:[ID]',
            'inc_base_num' => 'goddesss_state:state2:inc_base:[ID]', // 自增基数 ID=话题ID
            'base_max' => $envHost === 'online' ? 5 : 1, // 自增基数上限
            'expire' => 3600, // 1 小时过期时间,
            'cacheType' => 'hash',
        ],
    ],
    /**
     * 内容处理模块
     */
    'content' => [
        /**
         * 举报投诉
         */
        'complain' => [
            'list' => 'content:complain:list:[ID]', //ID [1=>评论，2=>回复,3=》视频评价]
            'details' => 'content:complain:info:[ID]',
            'list_details' => 'content:complain:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 内容点赞
         */
        'content_good' => [
            'list' => 'content:content_good:list:[ID]', //uid:type  类型 [1=>星文，2=>女神动态，3=>女神专区]
        ],
        /**
         * 内容已读
         */
        'article_read' => [
            'list' => 'content:article_read:list:[ID]', //ID = 用户ID
        ],
        /**
         * 评论/回复点赞
         */
        'comment_good' => [
            'list' => 'content:comment_good:list:[ID]', //uid-articleType-commentType 类型 [1=>用户点赞集合，2=>用户被点赞集合]
            'details' => 'content:comment_good:info:[ID]',
            'list_details' => 'content:comment_good:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 收藏
         */
        'collect' => [
            'list' => 'content:collect:list:[ID]', //uid:type  0=>所有 1=>星文，2=>女神动态，3=>女神专区
            'details' => 'content:collect:info:[ID]',
            'list_details' => 'content:collect:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 文章信息
         */
        'article_info' => [
            'list' => 'content:article2:list:[ID]', // ID = 栏目ID
            'list_expire' => 300, // 5分钟过期时间,
            'details' => 'content:article:info2:[ID]', //  文章ID
            'list_details' => 'content:article:info2:[ID]', // 文章ID
            'inc_base_num' => 'content:article:inc_base:[ID]', // 自增基数 ID=文章
            'base_max' => $envHost === 'online' ? 5 : 1, // 自增基数上限
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 首页文章信息
         */
        'article_index_info' => [
            'list' => 'content:article2:index:list:[ID]', // ID={$app-type}_{$version}:[0]
            'list1' => 'content:article2:index:list:*',
            'list_expire' => 300, // 5分钟过期时间,
            'details' => 'content:article2:info1:[ID]', // 文章ID
            'list_details' => 'content:article2:info1:[ID]', // 文章ID
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 评论
         */
        'comment' => [
            'list' => 'content:comment2:list:[ID]', //ID = type【1星文评论，2女神动态评论，3话题评论】: aid【星文ID|动态ID|话题ID】
            'question_user_list' => 'content:comment2:question_user_list:[ID]', //问答评论列表 ID 【用户id】
            'details' => 'content:comment2:info:[ID]', //  cid 评论ID
            'list_details' => 'content:comment2:info:[ID]', // cid 评论ID
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 回复
         */
        'reply' => [
            'list' => 'content:reply2:list:[ID]', //ID = 评论ID（commentId）
            'details' => 'content:reply2:info:[ID]', //  commentReplyId 评论回复ID
            'list_details' => 'content:reply2:info:[ID]', // commentReplyId 评论回复ID
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 回复我的
         */
        'reply_me' => [
            'list' => 'content:reply_me:list:[ID]', //ID = $uid . '-' . $type 【content:reply_me:list:16313677-0:[0]】
            'details' => 'content:reply:info1:[ID]', //  commentReplyId 评论回复ID
            'list_details' => 'content:reply:info1:[ID]', // commentReplyId 评论回复ID
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 重复评论验证
         */
        'reuse_comment_ckeck' => [
            'details' => 'content:comment:reuse:check:[ID]', //ID = 用户ID
            'reuse_comment_time' => 2, // 重复评论间隔时间
            'expire' => 30, // 30秒过期时间
        ],
        /**
         * 推荐搜索
         */
        'search_advice' => [
            'list' => 'content:search_advice:list',
            'details' => 'content:search_advice:info:[ID]', // 推荐搜索ID
            'list_details' => 'content:search_advice:info:[ID]', // 推荐搜索ID
            'expire' => $sevenTime, // 7天过期时间,
        ],
    ],
    /**
     * 女神信息模块
     */
    'goddess' => [
        'goddess_info' => [
            'details' => 'goddess:info2:[ID]',
        ],
    ],
    /**
     * 女神专区缓存
     */
    'goddess_area' => [
        // 互动话题
        'theme' => [
            'list' => 'goddess_area:theme2:list:[ID]',
            'list_expire' => 300, // 5分钟过期时间,
            'details' => 'goddess_area:theme2:info2:[ID]', // 话题ID
            'list_details' => 'goddess_area:theme2:info2:[ID]', //话题ID
            'inc_base_num' => 'goddess_area:theme2:inc_base:[ID]', // 自增基数 ID=话题ID
            'base_max' => $envHost === 'online' ? 5 : 1, // 自增基数上限
            'expire' => $sevenTime, // 86400 * 7=604800 7天过期时间,
        ],
        // 话题24小时回复数量
        'theme_reply_time_num' => [
            'list' => 'goddess_area:theme:reply_time:num', // 24小时回复数量
            'list_expire' => 3600, // 一小时过期时间,
        ],
        // 女神回复的文章缓存  话题ID=>回复时间
        'goddess_reply_article' => [
            'list' => 'goddess_area:goddess_reply:article:list:[ID]', // ID=3 话题   1=>星文 2=>动态
        ],
        // 女神回复评论缓存
        'goddess_reply_comment' => [
            'list' => 'goddess_area:goddess_reply:comment:list:[ID]', // 评论ID commentId
        ],
    ],
    /**
     * 小程序相关缓存
     */
    'miniapp' => [
        'user' => [
            'list' => 'miniapp:user:list:[ID]',
            'details' => 'miniapp:user:info:[ID]', // 小程序ID
            'list_details' => 'miniapp:user:info:[ID]', //小程序用户ID
            'expire' => $threeTime, // 3天过期时间,
        ],
        /**
         * H5 临时缓存档案信息
         */
        'html_recode' => [
            'details' => 'miniapp:h5:recode:info:[ID]', // ID=随机hash字符串
            'list_details' => 'miniapp:h5:recode:info:[ID]', //ID=随机hash字符串
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 首页星盘成分缓存
         */
        'total_score' => [
            'details' => 'miniapp:total_score:info:[ID]', // ID=20200231 当天日期
            'list_details' => 'miniapp:total_score:info:[ID]', // ID=20200231 当天日期
            'expire' => 86400, // 1天过期时间,
        ],
        'tt_hint_and_title' => [
            'details' => 'miniapp:tt:hint_and_title:info:[ID]', // ID=版本号
            'list_details' => 'miniapp:tt:hint_and_title:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间,
        ],
        'weapp_btn_desc' => [
            'details' => 'miniapp:weapp:weapp_btn_desc:info:[ID]', // ID=版本号
            'list_details' => 'miniapp:weapp:weapp_btn_desc:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间,
        ],
    ],
    /**
     * 合盘相关
     */
    'synastry' => [
        /**o
         * 排行榜
         */
        'ranking' => [
            'list' => 'synastry:ranking:list',
            'details' => 'synastry:ranking:info:[ID]',
            'list_details' => 'synastry:ranking:info:[ID]',
            'expire' => 86500, // 1 一天领100秒过去,
        ],
        'report_text' => [
            'details' => 'synastry:report:text2:[ID]',// ID=code 【synastry:report:text:13030108】
            'list_details' => 'synastry:report:text2:[ID]',
            'expire' => $threeTime, // 3天过期时间
            'cacheType' => 'hash',
        ],
        'famous_person_recode' => [
            'list' => 'synastry:famous_person_recode:list',
            'details' => 'synastry:famous_person_recode:info:[ID]',
            'list_details' => 'synastry:famous_person_recode:info:[ID]',
            'expire' => $sevenTime, // 1 一天领100秒过去,
        ],
        /**
         * 名人排行榜
         */
        'famous_person_ranking' => [
            'list' => 'synastry:famous_person:ranking:list:[ID]',   // ID = 名人ID:[0]
            'details' => 'user:synastry1:info:[ID]',
            'list_details' => 'user:synastry1:info:[ID]',
            'expire' => $threeTime, //
            'list_expire' => $threeTime, //列表ids 永不过期
        ],
    ],
    /**
     * 明星档案
     */
    'star_recode' => [
        /**
         * 档案
         */
        'recode' => [
            'details' => 'star:recode:info:[ID]', // ID=明星档案ID
            'list_details' => 'star:recode:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间
        ],
    ],
    /**
     * 占星师挑战
     */
    'astr_exercise' => [
        /**
         * 题目
         */
        'question' => [
            'list' => 'astr_exercise:question:list:[ID]', // ID = 类别:[关卡]
            'details' => 'astr_exercise:question:info:[ID]',    // ID=问题ID
            'list_details' => 'astr_exercise:question:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 分数排行榜
         */
        'ranking' => [
            'list' => 'astr_exercise:ranking:list',
            'details' => 'astr_exercise:user_result:info:[ID]', // 用户ID
            'list_details' => 'astr_exercise:user_result:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 用户答题结果
         */
        'user_result' => [
            'details' => 'astr_exercise:user_result:info:[ID]', // ID=用户ID
            'list_details' => 'astr_exercise:user_result:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间
        ],
    ],
    /**
     * 定制报告
     */
    'custom_report' => [
        /**
         * 问题商品
         */
        'question_goods' => [
            'list' => 'custom_report:goods:list:[ID]',//type  (type=>1 热门问题，type=>2 全部问题)
            'details' => 'custom_report:goods:info:[ID]', // 报告问题商品ID
            'list_details' => 'custom_report:goods:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 问题
         */
        'question' => [
            'list' => 'custom_report:question:list3:[ID]',// uid-type  (type=>1 首页报告列表，type=>2 我的报告列表)
            'details' => 'custom_report:question:info3:[ID]', // 报告问题ID
            'list_details' => 'custom_report:question:info3:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 订单关联问题
         */
        'order_question' => [
            'list' => 'custom_report:order_question:list1:[ID]', //orderId  订单编号
            'details' => 'custom_report:question:info1:[ID]', // 报告问题ID
            'list_details' => 'custom_report:question:info1:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 问题结果
         */
        'question_info' => [
            'details' => 'custom_report:question_info:info2:[ID]', // 报告问题ID
            'list_details' => 'custom_report:question_info:info2:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 问题评论
         */
        'question_comment' => [
            'details' => 'custom_report:question_comment:info:[ID]', // 报告问题ID
            'list_details' => 'custom_report:question_comment:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 问题评论
         */
        'question_comment_tag' => [
            'list' => 'custom_report:question_comment_tag:list:[ID]', //评论等级 ,0=>获取全部标签
            'details' => 'custom_report:question_comment_tag:info1:[ID]', //标签id
            'list_details' => 'custom_report:question_comment_tag:info1:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 占星师拒绝回答问题
         */
        'astr_not_answer_question' => [
            'list' => 'custom_report:astr_not_answer_question:list:[ID]', // ID = 日期【20201027】:占星师ID
            'list_details' => 'custom_report:astr_not_answer_question:info:[ID]',
            'list_expire' => 86400, // 1天过期时间
        ],
        /**
         * 定制报告内容审核
         */
        'content_check' => [
            'details' => 'custom_report:content_check:info:[ID]', // qid(问题ID/占星师ID):type(内容类型 1=>问题内容 2=>答案内容 3=>评论内容 4=>占星师审核)
            'list_details' => 'custom_report:content_check:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
    ],
    /**
     * 占星师后台 占星师信息
     */
    'astr_admin' => [
        /**
         * 首页轮播信息
         */
        'slide' => [
            'details' => 'astr_admin:slide:info',
            'list_details' => 'astr_admin:slide:info',
            'cacheType' => 'string',
            'expire' => $threeTime, // 3天过期时间,
        ],
        /**
         * 占星师信息
         */
        'astr' => [
            'list' => 'astr_admin:astr:list:[ID]',
            'astr_ids' => 'astr_admin:astr:ids:[ID]',
            'details' => 'astr_admin:astr:info4:[ID]', // 占星师ID     缓存key如果更新 注意；还有go的审核也要同步修改
            'list_details' => 'astr_admin:astr:info4:[ID]', //占星师ID
            'expire' => $threeTime, // 3天过期时间,
        ],
        /**
         * 占星师身份信息
         */
        'astr_info' => [
            'list' => 'astr_admin:astr_info:list:[ID]',
            'details' => 'astr_admin:astr_info:info:[ID]', // 占星师ID
            'list_details' => 'astr_admin:astr_info:info:[ID]', //占星师ID
            'expire' => $threeTime, // 3天过期时间,
        ],
        /**
         * 占星师标签信息
         */
        'astr_tag' => [
            'details' => 'astr_admin:astr_tag:info:[ID]', // 占星师ID
            'list_details' => 'astr_admin:astr_tag:info:[ID]', //占星师ID
            'cacheType' => 'string',
            'expire' => $threeTime, // 3天过期时间,
        ],
        /**
         * 占星师 账户 信息
         */
        'astr_account' => [
            'list' => 'astr_admin:astr_account:list:[ID]',
            'details' => 'astr_admin:astr_account:info:[ID]', // 占星师ID
            'list_details' => 'astr_admin:astr_account:info:[ID]', //占星师ID
            'expire' => $threeTime, // 3天过期时间,
        ],
        /**
         * 占星师 账户 信息
         */
        'astr_account_record' => [
            'list' => 'astr_admin:astr_account_record:list:[ID]', // 占星师ID
            'details' => 'astr_admin:astr_account_record:info1:[ID]', // 流水明细ID
            'list_details' => 'astr_admin:astr_account_record:info1:[ID]', // 流水明细ID
            'expire' => $threeTime, // 3天过期时间,
        ],
        /**
         * 进行中的任务
         */
        'astr_underway_task' => [
            'list' => 'astr_admin:astr_underway_task:list:[ID]', // 占星师 ID
            'details' => 'custom_report:question:info:[ID]', // 问题ID
            'list_details' => 'custom_report:question:info:[ID]', // 问题ID
            'expire' => $threeTime, // 3天过期时间,
        ],
        /**
         * 占星师问题备注
         */
        'question_note' => [
            'details' => 'astr_admin:question_note:info:[ID]', // 问题ID:占星师ID
            'list_details' => 'astr_admin:question_note:info:[ID]', // 问题ID:占星师ID
            'expire' => $threeTime, // 3天过期时间,
        ],
        /**
         * 占星师申诉
         */
        'astr_appeal' => [
            'details' => 'astr_admin:astr_appeal:info:[ID]', // type(申诉类型 1=>问题申诉，2=>评论申诉):问题ID:占星师ID
            'list_details' => 'astr_admin:astr_appeal:info:[ID]', // type(申诉类型 1=>问题申诉，2=>评论申诉):问题ID:占星师ID
            'expire' => $threeTime, // 3天过期时间,
        ],
        /**
         * 消息中心
         */
        'message' => [
            'list' => 'astr_admin:astr_message:list:[ID]', // 占星师 ID
            'details' => 'astr_admin:astr_message:info:[ID]', // 消息ID
            'list_details' => 'astr_admin:astr_message:info:[ID]', // 消息ID
            'expire' => $threeTime, // 3天过期时间,
        ],
        /**
         * 咨询账号
         */
        'consult_account' => [
            'list' => 'astr_admin:consult_account:list:[ID]', // ID=ID1:[type]  ID1=用户UID【关注】 ｜ 0  type= 0=>全部 1=>关注 2=>占星 3=>塔罗
            'details' => 'astr_admin:consult_account1:info1:[ID]', // ID=账号ID
            'list_details' => 'astr_admin:consult_account1:info1:[ID]',
            'expire' => $sevenTime, // 7天过期时间
        ],
        /**
         * 咨询账号
         */
        'consult_account_data_analysis' => [
            'details' => 'astr_admin:consult_account_data_analysis:info:[ID]', // ID=id
            'list_details' => 'astr_admin:consult_account_data_analysis:info:[ID]',
            'data_id' => 'astr_admin:consult_account_data_analysis:data_id:[ID]', // ID = astrId:时间【2023082215】到小时
            'ranking' => 'astr_admin:consult_account_data_analysis:ranking:[ID]',   // 排行榜 ID=1咨询排行榜 2=>热度排行榜
            'expire' => $sevenTime, // 7天过期时间
        ],
        /**
         * 题目
         * 咨询师定制报告考试题列表（选择题）  astr_admin_exercise:question:list:1:[1]
         * 咨询师定制报告考试题列表（简答题）  astr_admin_exercise:question:list:1:[2]
         * 咨询师平台章程考试题列表（选择题）  astr_admin_exercise:question:list:2:[1]
         * 咨询师问答-星盘考试题列表（选择题） astr_admin_exercise:question:list:3:[1]
         * 咨询师问答-骰子考试题列表（选择题） astr_admin_exercise:question:list:4:[1]
         * 咨询师问答-塔罗考试题列表（选择题） astr_admin_exercise:question:list:5:[1]
         */
        'question' => [
            'list' => 'astr_admin_exercise:question:list:[ID]', // ID = 类别:[关卡]
            'details' => 'astr_admin_exercise:question:info:[ID]', // ID=问题ID
            'list_details' => 'astr_admin_exercise:question:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 用户答题结果
         */
        'user_result' => [
            'details' => 'astr_admin_exercise:user_result:info:[ID]', // ID=用户ID
            'list_details' => 'astr_admin_exercise:user_result:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间
        ],
        /**
         * 占星师团队身份信息
         */
        'astr_team_info' => [
            'list' => 'astr_admin:astr_team_info:list:[ID]',
            'details' => 'astr_admin:astr_team_info:info:[ID]', // 团队ID
            'list_details' => 'astr_admin:astr_team_info:info:[ID]', //团队ID
            'expire' => $threeTime, // 3天过期时间,
        ],
        /**
         * 连线咨询 问题
         */
        'auth_code' => [
            'details' => 'astr_admin:auth_code:info:[ID]', // uid
            'list_details' => 'astr_admin:auth_code:info:[ID]', // uid
            'astr_code' => 'astr_admin:auth_code:astr_code:[ID]',
            'expire' => 86400, // 1天过期时间,
        ],
        /**
         * 推送设备ID
         */
        'push_regid' => [
            'details' => 'astr_admin:push:regid:[ID]',   // ID = astrId
            'expire' => $sevenTime,  // 7天过期时间
        ],
        /**
         * 占星师 连线咨询-积极回复记录
         */
        'astr_consult_active_reply_record' => [
            'details' => 'astr_admin:astr_consult_active_reply_record:info',
            'list_details' => 'astr_admin:astr_consult_active_reply_record:info',
            'expire' => 300, // 3分钟过期时间,
        ],
    ],
    /**
     * 占卜
     */
    'divination' => [
        /**
         * 骰子记录
         */
        'divination_record' => [
            'list' => 'divination:divination_record:list:[ID]',    // uid
            'details' => 'divination:divination_record:info1:[ID]', // 记录ID
            'list_details' => 'divination:divination_record:info1:[ID]', //记录ID
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 推荐问题
         */
        'recommend_question' => [
            'list' => 'divination:recommend_question:list:[ID]',    // 1:[0] 骰子占卜推荐  2:[0] 塔罗占卜推荐
            'details' => 'divination:recommend_question:info:[ID]', // 推荐问题ID
            'list_details' => 'divination:recommend_question:info:[ID]', //推荐问题ID
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 塔罗记录
         */
        'tarot_record' => [
            'list' => 'divination:tarot_record:list:[ID]',    // uid
            'details' => 'divination:tarot_record:info1:[ID]', // 记录ID
            'list_details' => 'divination:tarot_record:info1:[ID]', //记录ID
            'divination_num' => 'divination:tarot_record:num', // 塔罗占卜次数  ID = 牌阵ID
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 塔罗词条
         */
        'tarot_text' => [
            'details' => 'divination:tarot_text:info:[ID]', // 词条ID
            'list_details' => 'divination:tarot_text:info:[ID]', //词条ID
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 塔罗 AI 解答
         */
        'tarot_card_ai_answer' => [
            'list' => 'divination:tarot_card_ai_answer:list:[ID]',    // ID:[0]  ID=塔罗占卜记录
            'details' => 'divination:tarot_card_ai_answer:info:[ID]', // 塔罗卡牌解答记录ID
            'list_details' => 'divination:tarot_card_ai_answer:info:[ID]', //塔罗卡牌解答记录ID
            'expire' => $threeTime, // 3天过期时间,
            'list_expire' => $sevenTime, //7天过期时间
        ],
    ],
    /**
     * 意见反馈
     */
    'feedback' => [
        /**
         * 意见反馈问题
         */
        'question' => [
            'list' => 'feedback:question:list:[ID]',    // ID=>用户ID
            'new_msg_question' => 'feedback:question:new_msg:list:[ID]',    // ID=>用户ID
            'details' => 'feedback:question:info:[ID]', // 意见反馈ID
            'list_details' => 'feedback:question:info:[ID]', // 意见反馈ID
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 意见反馈问题 会话信息
         */
        'question_send_msg_info' => [
            'list' => 'feedback:question_send_msg_info:list:[ID]',    // ID=>意见反馈ID
            'details' => 'feedback:question_send_msg_info:info:[ID]', // 会话ID
            'list_details' => 'feedback:question_send_msg_info:info:[ID]', // 会话ID
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 热门问题
         */
        'hot_question' => [
            'list' => 'feedback:hot_question:list',
            'details' => 'feedback:hot_question:info:[ID]', // 问题ID
            'list_details' => 'feedback:hot_question:info:[ID]', //问题ID
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 热门问题回复内容
         */
        'hot_question_detail' => [
            'details' => 'feedback:hot_question_detail:info:[ID]', // 问题ID
            'list_details' => 'feedback:hot_question_detail:info:[ID]', //问题ID
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 反馈标签
         */
        'tags' => [
            'list' => 'feedback:tags:list:[ID]', // 标签ID
            'details' => 'feedback:tags:info:[ID]', // 标签ID
            'list_details' => 'feedback:tags:info:[ID]', // 标签ID
            'expire' => $sevenTime, // 7天过期时间,
        ],
    ],
    /**
     * 心理测试
     */
    'mental_test' => [
        /**
         * 测评的问题
         */
        'question' => [
            'list' => 'mt:question:list:[ID]', // ID=>分类
            'list_details' => 'mt:question:info:[ID]', //列表详情+问题详情 数据
            'details' => 'mt:question:child:[ID]', //子类详情 数据
            'list_recommends' => 'mt:question:recs:[CATEGORY]', // 推荐问题分类列表 CATEGORY=>分类名字
            'expire' => $sevenTime, // 7天过期时间,
        ],

//        'question_child' => [
//            'details' => 'mt:child:info:[ID]', //列表详情+问题详情 数据
//            'expire' => $sevenTime, // 7天过期时间,
//        ],

        /**
         * 测评的选项
         */
        'option' => [
            'list' => 'mt:option:list:[ID]', // ID=>分类
            'list_details' => 'mt:option:info:[ID]', //选项详情 数据
            'details' => 'mt:option:info:[ID]', //选项详情 数据
            'expire' => $sevenTime, // 7天过期时间,
        ],

        /**
         * 我的测评记录
         */
        'record' => [
            'list' => 'mt:record:list:[ID]', // ID=>分类【未完成、已完成】
            'list_details' => 'mt:record:info:[ID]', //记录详情数据
            'details' => 'mt:record:info:[ID]', //记录详情数据
            'expire' => $sevenTime, // 7天过期时间,
        ],

        /**
         * 用户最近一次的问题
         */
        'recent' => [
            'details' => 'mt:recent:info:[ID]', // 用户ID:问题ID:子类ID
            'expire' => $sevenTime, // 7天过期时间,
        ],

        /**
         * 用户的答题记录
         */
        'answer' => [
            'details' => 'mt:answer:info:[ID]', // 用户ID:订单ID
            'expire' => $sevenTime, // 7天过期时间,
        ],
    ],
    /**
     * 抽奖活动
     */
    'prize' => [
        // 用户抽奖信息
        'user_prize_info' => [
            'details' => 'prize:user_prize_info:info:[ID]', // 用户ID:活动ID
            'list_details' => 'prize:user_prize_info:info:[ID]', // 用户ID
            'expire' => $sevenTime, // 7天过期时间,
        ],
        // 用户抽奖记录
        'user_prize_record' => [
            'list' => 'prize:user_prize_record:list:[ID]',    // ID=>用户ID:活动ID
            'details' => 'prize:user_prize_record:info:[ID]', // 抽奖记录ID
            'prizr_id_count' => 'prize:prizr_id_count:[ID]', // 分类别中奖次数统计 活动ID
            'list_details' => 'prize:user_prize_record:info:[ID]', // 抽奖记录ID
            'expire' => $sevenTime, // 7天过期时间,
        ],
        // 用户抽奖次数增加记录
        'user_prize_inc_record' => [
            'list' => 'prize:user_prize_inc_record:list:[ID]',    // ID=>用户ID:活动ID
            'task_completion_today' => 'prize:task_completion_today:[ID]', // 用户今天活动任务完成情况 ID=>用户ID:20201217:活动ID
            'details' => 'prize:user_prize_inc_record:info:[ID]', // 抽奖增加次数记录ID
            'list_details' => 'prize:user_prize_inc_record:info:[ID]', // 抽奖增加次数记录ID
            'expire' => 86400, // 1天过期时间,
        ],
    ],
    /**
     * 幸运之城
     */
    'map' => [
        // 幸运之城解锁结果
        'map_unlock_result' => [
            'list' => 'map:map_unlock_result:list:[ID]',    //  数据id(订单编号/赠送id/档案id):type(类型 1=>订单 2=>赠送 3=>档案)
            'details' => 'map:map_unlock_result:info:[ID]', // 详情id
            'list_details' => 'map:map_unlock_result:info:[ID]', // 详情id
            'expire' => 28800, // 7天过期时间,
        ],
        // 幸运之城备份档案
        'map_recode_back' => [
            'details' => 'map:map_recode_back:info:[ID]', // 备份id
            'list_details' => 'map:map_recode_back:info:[ID]', // 备份id
            'expire' => $sevenTime, // 7天过期时间,
        ],
        // 幸运之城幸运线行星数据
        'map_line_planet_info' => [
            'details' => 'map:map_line_planet_info:info:[ID]', // 数据id
            'list_details' => 'map:map_line_planet_info:info:[ID]', // 数据id
            'expire' => $sevenTime, // 7天过期时间,
        ],
    ],
    /**
     * web页面
     */
    'web' => [
        'six_active_2021' => [
            'details' => 'web:six_active_2021:info:[ID]', // 用户ID:用户ID
            'list_details' => 'web:six_active_2021:info:[ID]', // 用户ID
            'expire' => $sevenTime, // 7天过期时间,
        ],
        'six_active_history_2021' => [
            'list' => 'web:six_active_history_2021:list:[ID]',//阻力记录 ， 活动id
            'details' => 'web:six_active_history_2021:info:[ID]', // 用户ID:记录ID
            'list_details' => 'web:six_active_history_2021:info:[ID]', // 记录ID
            'expire' => $sevenTime, // 7天过期时间,
        ],
    ],
    /**
     * 直播间
     */
    'live' => [
        // 礼物
        'gift' => [
            'list' => 'live:gift:list:[ID]',    //  ID=>空
            'details' => 'live:gift:info:[ID]', // 礼物ID
            'list_details' => 'live:gift:info:[ID]', // 礼物ID
            'expire' => $sevenTime, // 7天过期时间,
        ],
        // 礼物赠送记录
        'gift_send_record' => [
            'list' => 'live:gift:send_record:list:[ID]',    //  ID=>用户ID, type=>1=>准币赠送 2=>背包赠送
            'details' => 'live:gift:send_record:info:[ID]', // 记录ID
            'list_details' => 'live:gift:send_record:info:[ID]', // 记录ID
            'expire' => $sevenTime, // 7天过期时间,
        ],
        // 用户礼物背包
        'user_gift_bag' => [
            'list' => 'live:user:gift_bag:list:[ID]',    //  ID=>uid
            'details' => 'live:user:gift_bag:info:[ID]', // 背包礼物ID
            'list_details' => 'live:user:gift_bag:info:[ID]', // 背包礼物ID
            'expire' => $sevenTime, // 7天过期时间,
        ],
        // 用户礼物背包记录
        'user_gift_bag_record' => [
            'list' => 'live:user:gift_bag_record:list:[ID]',    //  ID=>uid
            'details' => 'live:user:gift_bag_record:info:[ID]', // 背包记录ID
            'list_details' => 'live:user:gift_bag_record:info:[ID]', // 背包记录ID
            'flag_type_send_status' => 'live:user:flag_type_send_status:[ID]',   // uid:date:flag_type  date=20210922   flag_type=>平台任务获取类型 1=>每日在线10分钟 2=>每日累计在线1小时 3=>每周两次连续在线10分钟 4=>每月累计8天连续在线10分钟
            'expire' => $sevenTime, // 7天过期时间,
        ],
        // 星座热度日榜
        'sign_hot_day' => [
            'details' => 'live:sign_hot_day:info:[ID]', // ID=>日期【20210101】
            'list_details' => 'live:sign_hot_day:info:[ID]', // ID=>日期
            'expire' => 86400, // 1天过期时间,
        ],
        // 直播间每分钟 点赞数 热度 弹幕数 礼物准币数 礼物热度数
        'minute_status_data' => [
            'details' => 'live:minute_status_data:info:[ID]', // ID=>直播间ID:日期【202112122315】
            'list_details' => 'live:minute_status_data:info:[ID]', // ID=>直播间ID:日期【202112122315】
            'expire' => 86400, // 1天过期时间,
        ],
        /**
         * 用户贡献值
         */
        'user_contribution' => [
            'list' => 'live:user_contribution:ranking:[ID]',//ID = 直播间ID
            'details' => 'live:user_contribution:info:[ID]', // ID = 直播间ID:UID
            'list_details' => 'live:user_contribution:info:[ID]', // ID = 直播间ID:UID
            'expire' => $sevenTime, // 7天过期时间
            'list_expire' => 86400, //排行榜列表ids 1天过期时间
        ],
        /**
         * 直播间抽奖奖品
         */
        'live_award' => [
            'details' => 'live:live_award:info1:[ID]', // 详情id
            'list_details' => 'live:live_award:info1:[ID]', // 详情id
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 直播间优惠券
         */
        'live_coupon' => [
            'details' => 'live:live_coupon:info:[ID]', // 详情id
            'list_details' => 'live:live_coupon:info:[ID]', // 详情id
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 直播间抢优惠券活动
         */
        'coupon_active' => [
            'list' => 'live:coupon_active:list:[ID]',//ID = 直播间ID
            'details' => 'live:coupon_active:info:[ID]', // 详情id
            'new_active_id' => 'live:coupon_active_id:[ID]',   //ID = 直播间ID
            'list_details' => 'live:coupon_active:info:[ID]', // 详情id
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 直播间抽奖活动
         */
        'award_active' => [
            'list' => 'live:award_active:list:[ID]',//ID = 直播间ID
            'details' => 'live:award_active:info:[ID]', // 详情id
            'now_active' => 'live:award_active:now_active:[ID]', // ID = 直播间ID
            'list_details' => 'live:award_active:info:[ID]', // 详情id
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 直播间抽奖活动结果
         */
        'award_result' => [
            'details' => 'live:award_result:info:[ID]', // 抽奖活动ID
            'list_details' => 'live:award_result:info:[ID]', // 抽奖活动ID
            'cacheType' => 'string',
            'expire' => $sevenTime, // 7天过期时间,
        ],
        //预告
        'broadcast_preview' => [
            'list' => 'live:broadcast_preview:list:[ID]',//ID = 0
            'details' => 'live:broadcast_preview:info5:[ID]', // 详情id
            'list_details' => 'live:broadcast_preview:info5:[ID]', // 详情id
            'expire' => $sevenTime, // 7天过期时间,
        ],
        //直播记录
        'live_recording' => [
            'list' => 'live:live_recording:list:[ID]',    //  ID=>主播id
            'details' => 'live:live_recording:info:[ID]', // 详情id
            'new_record_id' => 'live:new_record_id:[ID]', // 直播间ID
            'list_details' => 'live:live_recording:info:[ID]', // 详情id
            'expire' => $sevenTime, // 7天过期时间,
        ],
        //主播
        'live_anchor' => [
            'list' => 'live:live_anchor:list:[ID]',    //  ID=>用户id
            'details' => 'live:live_anchor:info:[ID]', // 详情id
            'answer_switch' => 'live:answer_switch:info:[ID]', // 直播间ID：直播记录ID   解答开关配置
            'answer_pay_info' => 'live:answer_pay_info:info:[ID]', // 直播间ID：直播记录ID   解答 付费 配置
            'live_table_id' => 'live:live_table_id:[ID]', // ID=live_id直播间ID
            'list_details' => 'live:live_anchor:info:[ID]', // 详情id
            'expire' => $sevenTime, // 7天过期时间,
        ],
        //推荐商品
        'live_goods' => [
            'list' => 'live:live_goods:list:[ID]',    //  ID=>直播间id
            'details' => 'live:live_goods:info:[ID]', // 详情id
            'list_details' => 'live:live_goods:info:[ID]', // 详情id
            'expire' => $sevenTime, // 7天过期时间,
        ],
        'disable_send_msg' => [
            'details' => 'live:disable_send_msg:info:[ID]', // ID=直播间ID:uid
            'list_details' => 'live:disable_send_msg:info:[ID]', //  ID=直播间ID:uid
            'cacheType' => 'string',
            'expire' => $sevenTime, // 7天过期时间,
        ],
        // 直播用户
        'record_user_hot' => [
            'details' => 'live:record_user_hot:info:[ID]', // ID=直播间ID:uid
            'list_details' => 'live:record_user_hot:info:[ID]', //  ID=直播间ID:uid
            'expire' => $sevenTime, // 7天过期时间,
        ],
        // 用户 每日 在线
        'user_everyday_online' => [
            'details' => 'live:user_everyday_online:info:[ID]', // ID=week:uid:周数  || month:uid:月份
            'list_details' => 'live:user_everyday_online:info:[ID]', //  ID=uid
            'cacheType' => 'string',
            'expire' => $sevenTime, // 7天过期时间,
        ],
        // 主播管理员
        'anchor_admin' => [
            'details' => 'live:anchor_admin:uid:[ID]', // uid
            'list_details' => 'live:anchor_admin:uid:[ID]', // uid
            'cacheType' => 'string',
            'expire' => $sevenTime, // 7天过期时间,
        ],
        // 连麦记录
        'rtc_record' => [
            'list' => 'live:rtc_record:list:[ID]',    //  ID=>直播记录ID
            'details' => 'live:rtc_record:info:[ID]', // 详情id
            'list_details' => 'live:rtc_record:info:[ID]', // 详情id
            'list_expire' => 43200, //列表ids 12小时过期
            'expire' => 86400, // 1天过期时间,
        ],
        // 当前连麦信息
        'now_rtc' => [
            'details' => 'live:now_rtc:info:[ID]', // 直播记录ID
            'list_details' => 'live:now_rtc:info:[ID]', // 直播记录ID
            'expire' => 86400, // 1天过期时间,
        ],
        //直播间订单
        'live_order' => [
            'list' => 'live:live_order:list:[ID]',    //  ID=>直播记录id
            'expire' => 25200, // 7小时过期时间,
        ],
        'subscribe' => [
            'details' => 'live:subscribe:[ID]', // ID = uid-borId[直播预告id]
            'list_details' => 'live:subscribe:[ID]',
            'cacheType' => 'string',
            'expire' => 25200, // 7小时过期时间,
        ],
        // 看盘解答
        'astro_answer' => [
            'details' => 'live:astro_answer:info:[ID]', // ID = 看盘记录ID
            'list' => 'live:astro_answer:list:[ID]', // ID = 直播间ID【付费】   或者   直播间ID:直播记录ID【免费】
            'answer_prepare_use' => 'live:astro_answer_prepare_use:[ID]',  // ID =直播间ID     准备 看盘解答用户
            'user_request_astro_answer_prepare' => 'live:user_request_astro_answer_prepare:[ID]',  // ID =直播间ID     用户当前 申请等待看盘信息
            'now_answer' => 'live:astro_answer:now_answer:[ID]',  // ID =直播记录ID     直播间当前 看盘信息
            'list_details' => 'live:astro_answer:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间,
        ],
        // 骰子解答
        'dice_answer' => [
            'details' => 'live:dice_answer:info:[ID]', // ID = 看盘记录ID
            'list' => 'live:dice_answer:list:[ID]', // ID = 直播间ID【付费】   或者   直播间ID:直播记录ID【免费】
            'answer_prepare_use' => 'live:dice_answer_prepare_use:[ID]',  // ID =直播间ID     准备 看盘解答用户
            'user_request_dice_answer_prepare' => 'live:user_request_dice_answer_prepare:[ID]',  // ID =直播间ID     用户当前 申请等待看盘信息
            'now_answer' => 'live:dice_answer:now_answer:[ID]',  // ID =直播记录ID     直播间当前 看盘信息
            'list_details' => 'live:dice_answer:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间,
        ],
        // 塔罗解答
        'tarot_answer' => [
            'details' => 'live:tarot_answer:info:[ID]', // ID = 看盘记录ID
            'list' => 'live:tarot_answer:list:[ID]', // ID = 直播间ID【付费】   或者   直播间ID:直播记录ID【免费】
            'answer_prepare_use' => 'live:tarot_answer_prepare_use:[ID]',  // ID =直播间ID     准备 看盘解答用户
            'user_request_tarot_answer_prepare' => 'live:user_request_tarot_answer_prepare:[ID]',  // ID =直播间ID     用户当前 申请等待看盘信息
            'now_answer' => 'live:tarot_answer:now_answer:[ID]',  // ID =直播记录ID     直播间当前 看盘信息
            'list_details' => 'live:tarot_answer:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间,
        ],
    ],
    /**
     * 私域H5
     */
    'privatearea' => [
        // 私域H5用户
        'user' => [
            'list' => 'privatearea:user:list:[ID]',
            'details' => 'privatearea:user:info:[ID]', // 私域H5用户ID
            'list_details' => 'privatearea:user:info:[ID]', //私域H5用户ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $sevenTime, //列表ids 永不过期
        ],
        // 私域实物销售 H5用户
        'mall_user' => [
            'list' => 'privatearea:mall_user:list:[ID]',
            'details' => 'privatearea:mall_user:info:[ID]', // 私域H5用户ID
            'list_details' => 'privatearea:mall_user:info:[ID]', //私域H5用户ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $sevenTime, //列表ids 永不过期
        ],
        'mall_address' => [
            'list' => 'privatearea:mall_address:list:[ID]',
            'details' => 'privatearea:mall_address:info:[ID]', //
            'list_details' => 'privatearea:mall_address:info:[ID]', //
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $sevenTime, //列表ids 永不过期
        ],
        //  实物商品信息
        'mall_good' => [
            'list' => 'privatearea:mall_good:list',
            'details' => 'privatearea:mall_good:info1:[ID]', // 私域H5 实物商品ID
            'list_details' => 'privatearea:mall_good:info1:[ID]', //私域H5 实物商品ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $sevenTime, //列表ids 永不过期
        ],
        //  公司信息
        'company' => [
            'list' => 'privatearea:company:list:[ID]',
            'details' => 'privatearea:company:info:[ID]', // 私域H5 公司ID
            'list_details' => 'privatearea:company:info:[ID]', //私域H5 公司ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $sevenTime, //列表ids 永不过期
        ],
        // 实物商品规格信息
        'mall_good_attr' => [
            'list' => 'privatearea:mall_good_attr:list:[ID]',
            'details' => 'privatearea:mall_good_attr:info1:[ID]', // 私域H5 实物商品规格ID
            'list_details' => 'privatearea:mall_good_attr:info1:[ID]', //私域H5  实物商品规格ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $sevenTime, //列表ids 永不过期
        ],
        // 商品信息
        'good' => [
            'details' => 'privatearea:good:info:[ID]', // 私域H5链接 hash
            'list_details' => 'privatearea:good:info:[ID]', //私域H5链接 hash
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $sevenTime, //列表ids 永不过期
        ],
        // 用户咨询的问题
        'user_question' => [
            'list' => 'privatearea:user_question:list:[ID]',
            'details' => 'privatearea:user_question:info:[ID]', // 私域H5用户ID
            'list_details' => 'privatearea:user_question:info:[ID]', //私域H5用户ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $sevenTime, //列表ids 永不过期
        ],
        // 私域订单
        'order' => [
            'list' => 'privatearea:user:order:list:[ID]',   // uid
            'details' => 'privatearea:user:order:info:[ID]', // 订单号
            'list_details' => 'privatearea:user:order:info:[ID]', //订单号
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $sevenTime, //列表ids 永不过期
        ],
        'astro' => [
            'details' => 'privatearea:astro:info:[ID]', // 私域H5占星师ID
            'list_details' => 'privatearea:astro:info:[ID]', //私域H5占星师ID
            'expire' => $sevenTime, // 3天过期时间,
            'list_expire' => $sevenTime, //列表ids 永不过期
        ],
        // 私域短链
        'short_link' => [
            'details' => 'privatearea:short_link:info:[ID]', // hash
            'list_details' => 'privatearea:short_link:info:[ID]', // hash
            'expire' => $sevenTime, // 7天过期时间,
        ],
    ],
    /**
     * 问答
     */
    'question_answer' => [
        // 问答问题
        'question' => [
            'list' => 'question_answer:question:user:list:[ID]',    // 用户ID
            'unread_question' => 'question_answer:question:unread_question:list:[ID]',    //未读问题 用户ID
            'details' => 'question_answer:question:info1:[ID]', // 咨询ID
            'list_details' => 'question_answer:question:info1:[ID]', //咨询ID
            'time_sort' => 'question_answer:question:time_sort:list', //问答首页 时间排序
            'recommended_sort' => 'question_answer:question:recommended_sort:list', // 推荐值排序
            'admin_recommended_top' => 'question_answer:question:admin_recommended_top:list', // 后台推荐 强制置顶
            'admin_recommended' => 'question_answer:question:admin_recommended:list', // 后台推荐
            'admin_recommended_read' => 'question_answer:question:admin_recommended:read:[ID]', // ID=uid 后台推荐 以推荐
            'questions_recommended_read' => 'question_answer:question:questions_recommended_read:[ID]', // ID=uid 系统推荐 以推荐
            'waiting_list' => 'question_answer:question:waiting_list:list', // 待接单列表
            'receiving_lock' => 'question_answer:question:receiving_lock:[ID]', // 咨询ID   咨询师接单锁
            'expire' => 86400, // 1天过期时间,
            'list_expire' => 86400, //列表ids
        ],
        // 追问
        'add_question' => [
            'list' => 'question_answer:add_question:list:[ID]',    // 咨询ID
            'details' => 'question_answer:add_question:info1:[ID]', // 追问ID
            'list_details' => 'question_answer:add_question:info1:[ID]', //追问ID
            'expire' => 86400, // 7天过期时间,
            'list_expire' => 86400, //列表ids
        ],
        // 推荐问题
        'guess_question' => [
            'list' => 'question_answer:guess_question:list:[ID]',// 0=>所有 1=>问答 2=>日运
            'details' => 'question_answer:guess_question:info:[ID]',
            'list_details' => 'question_answer:guess_question:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间,
        ],
        // 问题评论
        'question_comment' => [
            'details' => 'question_answer:question_comment:info:[ID]', // 咨询ID
            'list_details' => 'question_answer:question_comment:info:[ID]', //咨询ID
            'expire' => $sevenTime, // 7天过期时间,
        ],
        // 蹭看
        'question_view' => [
            'list' => 'question_answer:question_view:user:list:[ID]',    // 用户ID
            'view_user' => 'question_answer:question:view_user:list:[ID]',  // 咨询ID
            'view_task_id' => 'question_answer:question:view_task_id:list:[ID]',  // 用户uid:0 【准有好事-问答】
            'unread_view' => 'question_answer:question:unread_view:list:[ID]',  // 未读蹭看 uid
            'details' => 'question_answer:question:info:[ID]', // 咨询ID
            'list_details' => 'question_answer:question:info:[ID]', //咨询ID
            'expire' => $sevenTime, // 7天过期时间,
        ],
        // 同问
        'question_same' => [
            'list' => 'question_answer:question_same:list:[ID]',    // 咨询ID
            'details' => 'question_answer:question:info:[ID]', // 咨询ID
            'list_details' => 'question_answer:question:info:[ID]', //咨询ID
            'expire' => $sevenTime, // 7天过期时间,
        ],
        // 占星师任务列表
        'astr_task' => [
            'list' => 'question_answer:astr_task:list:[ID]',    // 占星师ID
            'details' => 'question_answer:astr_task:info:[ID]', // 咨询ID
            'list_details' => 'question_answer:astr_task:info:[ID]', //咨询ID
            'expire' => 86400, // 7天过期时间,
            'list_expire' => 86400, //列表ids
        ],
    ],
    /**
     * 用户 幸运星
     */
    'lucky_planet' => [
        // 幸运星信息
        'user_details' => [
            'list' => 'lucky_planet:user_details:list:[ID]',    // 用户ID
            'details' => 'lucky_planet:user_details:info:[ID]', // 咨询ID
            'list_details' => 'lucky_planet:user_details:info:[ID]', //咨询ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        // 用户 装扮信息
        'user_adorn' => [
            'list' => 'lucky_planet:user_adorn_list:list:[ID]',  // 用户拥有装扮 信息
            'adorn_details' => 'lucky_planet:user_adorn_details:info:[ID]', // 用户ID  用户装扮信息
            'details' => 'lucky_planet:user_adorn_list:info:[ID]', // 装扮ID
            'list_details' => 'lucky_planet:user_adorn_list:info:[ID]', // 装扮ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        // 幸运星兑换 列表
        'exchange_datas' => [
            'list' => 'lucky_planet:exchange_datas:list',
            'details' => 'lucky_planet:exchange_datas:info:[ID]', // 兑换物品ID
            'list_details' => 'lucky_planet:exchange_datas:info:[ID]', //兑换物品ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        // 幸运星 记录
        'change_record' => [
            'list' => 'lucky_planet:change_record:list:[ID]',    // 用户ID:int=> 0 全部 1 领取  2=>使用 3=>过期
            'details' => 'lucky_planet:change_record:info:[ID]', // 记录ID
            'list_details' => 'lucky_planet:change_record:info:[ID]', // 记录ID
            'tomorrow_expire' => 'lucky_planet:tomorrow_expire:num:[ID]', // 幸运星明日过期数量 用户ID:date[20220505]
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        // 用户 幸运星 任务 完成记录
        'task_record' => [
            'details' => 'lucky_planet:user_task_record:details:[ID]', // 用户ID:date[20220507每日任务] ｜ 用户ID:upgrade:1[升级任务签到]｜用户ID:upgrade:2[升级任务每日任务]｜用户ID:upgrade:give[升级任务上次领取时间] ｜ 用户ID:other[其他任务]
            'list_details' => 'lucky_planet:user_task_record:details:[ID]', // 用户ID
            'expire' => $sevenTime, // 7天过期时间,
        ],
        // 签到
        'sign_in' => [
            'details' => 'lucky_planet:user_sign_in:info:[ID]', // 用户ID
            'list_details' => 'lucky_planet:user_sign_in:info:[ID]', // 用户ID
            'expire' => $sevenTime, // 7天过期时间,
        ],
        // 抽奖奖品信息
        'draw' => [
            'list' => 'lucky_planet:draw:list',
            'details' => 'lucky_planet:draw:info:[ID]', // 奖品ID
            'list_details' => 'lucky_planet:draw:info:[ID]', //奖品ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
    ],
    /**
     * 星座 社区
     */
    'astr_community' => [
        // 星座关系 类型
        'relation_tag' => [
            'list' => 'astr_community:relation_tag:list:[ID]',    // ID=0[0] 全部   ID=0[1] 总体分析类型关系  ID=0[2] 关系特征类型关系
            'details' => 'astr_community:relation_tag:info:[ID]', // 咨询ID
            'list_details' => 'astr_community:relation_tag:info:[ID]', //咨询ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        // 星座关系 介绍词条信息
        'relation_text' => [
            'list' => 'astr_community:relation_text:list:[ID]',    //   ID=星座ID[0]
            'details' => 'astr_community:relation_text:info:[ID]', // 词条ID
            'list_details' => 'astr_community:relation_text:info:[ID]', //词条ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        // 星座讨论
        'article' => [
            'list' => 'astr_community:article:list:[ID]',    //   ID=星座ID:关系ID[0]   0:0[0]【全部】 1:0[0]【白羊座全部关系】 0:1[0] 【所有星座的当前关系】
            'user_list' => 'astr_community:article:user_list:[ID]',    // 用户发布的讨论列表   ID=UID[0]
            'details' => 'astr_community:article:info:[ID]', // 讨论ID
            'today_hot' => 'astr_community:today_hot:info', // 缓存有效期1天 缓存过期自动重新计算最新热点 星座讨论 不采用跟随日期变动模式 防止缓存集中过期
            'list_details' => 'astr_community:article:info:[ID]', //讨论ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        // 星座 赞同与反对
        'article_zan' => [
            'details' => 'astr_community:article_zan:info:[ID]', // 讨论ID
            'list_details' => 'astr_community:article_zan:info:[ID]', //讨论ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
    ],
    /**
     * 关系 研究
     */
    'relation_analysis' => [
        // 关系研究 标签
        'tag' => [
            'list' => 'relation_analysis:tag:list',    //
            'details' => 'relation_analysis:tag:info:[ID]', // 标签ID
            'list_details' => 'relation_analysis:tag:info:[ID]', // 标签ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        // 我的理想型
        'my_idea' => [
            'list' => 'relation_analysis:my_idea:list:[ID]',    // ID=用户ID[0]
            'details' => 'relation_analysis:my_idea:info:[ID]', // 我的理想型ID
            'unlock_case' => 'relation_analysis:my_idea:unlock_case:[ID]', // ID=用户ID
            'list_details' => 'relation_analysis:my_idea:info:[ID]', // 我的理想型ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        // 我的理想型 档案信息
        'my_idea_recode_info' => [
            'details' => 'relation_analysis:my_idea_recode_info:info:[ID]', // 我的理想型ID
            'list_details' => 'relation_analysis:my_idea_recode_info:info:[ID]', // 我的理想型ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        // 适合你的Ta
        'fit_you' => [
            'list' => 'relation_analysis:fit_you:list:[ID]', // ID=uid:[rid]    // 获取档案解锁的 适合你的那个Ta 订单编号
            'details' => 'relation_analysis:fit_you:info:[ID]', // ID=uid:rid
            'list_details' => 'relation_analysis:fit_you:info:[ID]', //  ID=uid:rid
            'details_back_recode' => 'relation_analysis:fit_you:back_recode:[ID]',// ID=订单编号
            'expire' => $sevenTime, // 7天过期时间,
        ],
        // 适合你的Ta 报告词条
        'fit_you_report_text' => [
            'details' => 'relation_analysis:fit_you_report_text:[ID]',// ID=code 【relation_analysis:fit_you_report_text:13030108】
            'list_details' => 'relation_analysis:fit_you_report_text:[ID]',
            'expire' => $sevenTime, // 7天过期时间
            'cacheType' => 'string',
        ],
        // 关系研究所 报告
        'report' => [
            'list' => 'relation_analysis:report:list:[ID]',    // ID=用户ID:[type]   type=报告类型 1=>怎么追求Ta  2=>鉴“渣”神器
            'report_order_ids' => 'relation_analysis:report_order_ids:list:[ID]',    // ID=用户ID:rid   // 获取档案解锁的 报告 订单编号
            'details' => 'relation_analysis:report:info:[ID]', // 报告ID
            'details_back_recode' => 'relation_analysis:report:back_recode:[ID]',// ID=订单编号
            'is_new_report' => 'relation_analysis:report:is_new:[ID]',// ID=用户ID:type   type=报告类型 1=>怎么追求Ta  2=>鉴“渣”神器
            'list_details' => 'relation_analysis:report:info:[ID]', //  报告ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        // 怎么追求Ta 报告词条
        'woohim_report_text' => [
            'details' => 'relation_analysis:woohim_report_text:[ID]',// ID=code 【relation_analysis:woohim_report_text:13030108】
            'list_details' => 'relation_analysis:woohim_report_text:[ID]',
            'expire' => $sevenTime, // 7天过期时间
            'cacheType' => 'string',
        ],
        // 鉴“渣”神器 报告词条
        'playboy_report_text' => [
            'details' => 'relation_analysis:playboy_report_text:[ID]',// ID=code 【relation_analysis:playboy_report_text:13030108】
            'list_details' => 'relation_analysis:playboy_report_text:[ID]',
            'expire' => $sevenTime, // 7天过期时间
        ],
    ],
    /**
     * 星运变动
     */
    'astro_fortune' => [
        // 星运内容 动态
        'astro_fortune_change_content' => [
            'details' => 'astro_fortune:astro_fortune_change_content:info:[ID]', // uid:rid:date【日期20221010】
            'all' => 'astro_fortune:astro_fortune_change_content:all:[ID]', // date【日期20221010】
            'underway' => 'astro_fortune:astro_fortune_change_content:underway:[ID]', // uid:rid:date【日期20221010】  缓存有效期1天
            'unlock_date' => 'astro_fortune:astro_fortune_change_content:unlock:list:[ID]', // ID= rid
            'list_details' => 'astro_fortune:astro_fortune_change_content:info:[ID]', //uid:rid:date【日期20221010】
            'index' => 'astro_fortune:astro_change_content:index:[ID]',  // id=2022090112 获取12小时 内的天象 变动信息
            'expire' => $threeTime, // 7天过期时间,
        ],
        // 星运内容 动态
        'article' => [
            'list' => 'astro_fortune:article:list:[ID]',    //   ID=星运内容ID:[0]
            'user_list' => 'astro_fortune:article:user_list:[ID]',    // 用户发布的动态列表   ID=UID[0]
            'details' => 'astro_fortune:article:info:[ID]', // 动态ID
            'list_details' => 'astro_fortune:article:info:[ID]', //动态ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $sevenTime, //列表ids
        ],
        // 星运内容 动态 同感与无感
        'article_zan' => [
            'details' => 'astro_fortune:article_zan:info:[ID]', // uid
            'list_details' => 'astro_fortune:article_zan:info:[ID]', //uid
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $sevenTime, //列表ids
        ],
        //心理测试习题
        'mental_test_exercise' => [
            'list' => 'astro_fortune:mental_test_exercise:list',
            'details' => 'astro_fortune:mental_test_exercise:info:[ID]', // 习题ID
            'list_details' => 'astro_fortune:mental_test_exercise:info:[ID]', //习题ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $sevenTime, //列表ids
        ],
        // 神秘惊喜
        'surprise' => [
            'list' => 'astro_fortune:surprise:list:[ID]',    //   ID=惊喜类型
            'details' => 'astro_fortune:surprise:info:[ID]', // 惊喜ID
            'list_details' => 'astro_fortune:surprise:info:[ID]', //惊喜ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $sevenTime, //列表ids
        ],
        // 神秘惊喜 优惠券折扣
        'surprise_coupon_discount' => [
            'details' => 'astro_fortune:surprise_coupon_discount:info:[ID]', // 惊喜ID
            'list_details' => 'astro_fortune:surprise_coupon_discount:info:[ID]', //惊喜ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $sevenTime, //列表ids
        ],
        // 星运变动词条
        'astr_fortune_text' => [
            'details' => 'astro_fortune:astr_fortune_text:info:[ID]', // 词条ID
            'list_details' => 'astro_fortune:astr_fortune_text:info:[ID]', //词条ID
            'expire' => $sevenTime, // 7天过期时间,
        ],
        // 星运变动词条 有感与无感
        'astr_fortune_text_zan' => [
            'details' => 'astro_fortune:astr_fortune_text_zan:info:[ID]', // uid
            'list_details' => 'astro_fortune:astr_fortune_text_zan:info:[ID]', //uid
            'expire' => $sevenTime, // 7天过期时间,
        ],
    ],
    /**
     * 八字模块
     */
    'horoscope' => [
        /**
         * 八字 72格局判定 与 用神详解 报告
         */
        'report' => [
            'details' => 'horoscope:report:info:[ID]', // rid
            'list_details' => 'horoscope:report:info:[ID]', //  rid
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 八字 吉日吉时 报告
         */
        'good_time_report' => [
            'list' => 'horoscope:good_time_report:list:[ID]',    //   ID=uid:[0]
            'details' => 'horoscope:good_time_report:info:[ID]', // ID = id
            'user_unlock_days' => 'horoscope:user_good_time_report:unlock_days:[ID]',   // 解锁日期信息  uid
            'user_unlock_tags' => 'horoscope:user_good_time_report:unlock_tags:[ID]',   // 解锁标签信息  uid
            'details_back_recode' => 'horoscope:good_time_report:back_recode:[ID]',// ID=订单编号
            'home_is_new' => 'horoscope:good_time_home:is_new:[ID]', //  ID = id
            'list_details' => 'horoscope:good_time_report:info:[ID]', //  ID = id
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $sevenTime, //列表ids
        ],
        /**
         * 八字 吉日吉时 报告 临时计算
         */
        'good_time_report_temp' => [
            'details' => 'horoscope:good_time_report_temp:info:[ID]', // ID = id
            'list_details' => 'horoscope:good_time_report_temp:info:[ID]', //  ID = id
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 八字排盘 用户配置
         */
        'user_config' => [
            'details' => 'horoscope:user_config:info:[ID]', // uid
            'list_details' => 'horoscope:user_config:info:[ID]', //  uid
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 八字 吉日吉时 事项类型
         */
        'good_time_type' => [
            'details' => 'horoscope:good_time_type:info', //
            'list_details' => 'horoscope:good_time_type:info', //
            'cacheType' => 'string',
            'expire' => $sevenTime, // 3天过期时间,
        ],
        /**
         * 八字 吉日吉时 事项 标签
         */
        'good_time_tag' => [
            'list' => 'horoscope:good_time_tag:list:[ID]', // 事项类型ID
            'details' => 'horoscope:good_time_tag:info:[ID]', // 标签ID
            'list_details' => 'horoscope:good_time_tag:info:[ID]', // 标签ID
            'expire' => $sevenTime, // 7天过期时间,
        ],
    ],
    /**
     * 解读对话
     */
    'explain' => [
        /**
         * 星盘解读 类型
         */
        'explain_type' => [
            'list' => 'explain:explain_type:list',
            'details' => 'explain:explain_type:info:[ID]',
            'list_details' => 'explain:explain_type:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        /**
         * 星盘解读 标题
         */
        'explain_question' => [
            'list' => 'explain:explain_question:list',
            'details' => 'explain:explain_question:info:[ID]', // 问题ID
            'list_details' => 'explain:explain_question:info:[ID]', // 问题ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        /**
         * 星盘解读 词条
         */
        'explain_content' => [
            'content_id' => 'explain:explain_content_id:[ID]', // title_id:basis
            'details' => 'explain:explain_content:info:[ID]', // id
            'list_details' => 'explain:explain_content:info:[ID]', // id
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 星盘解读 互动
         */
        'explain_chat' => [
            'list' => 'explain:explain_chat:list:[ID]',    // ID=rid:[0]
            'details' => 'explain:explain_chat:info1:[ID]', // chat_id
            'list_details' => 'explain:explain_chat:info1:[ID]', // chat_id
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        /**
         * 会话问题缓存
         */
        'hz_question' => [
            'list' => 'explain:hz_question:list',
            'details' => 'explain:hz_question:info:[ID]',  // ID = qid  问题ID
            'list_details' => 'explain:hz_question:info:[ID]', // ID = qid  问题ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        /**
         * 会话问题词条
         */
        'question_text' => [
            'details' => 'explain:question_text:info:[ID]', // 词条ID
            'list_details' => 'explain:question_text:info:[ID]', //词条ID
            'list_logic_details' => 'explain:question_text:logic_info:[ID]', //logic_id
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 会话逻辑
         */
        'question_logic' => [
            'details' => 'explain:question_logic:info:[ID]', // qid
            'list_details' => 'explain:question_logic:info:[ID]', //qid
            'cacheType' => 'string',
            'expire' => $sevenTime, // 7天过期时间,
        ],
    ],
    /**
     * 语音咨询
     */
    'voice_consult' => [
        /**
         * 咨询会话ID列表
         */
        'chat_id' => [
            'list' => 'voice_consult:chat_id:list:[ID]',     // ID = uid
            'details' => 'voice_consult:chat_id:info2:[ID]',  // ID = chat_id
            'list_details' => 'voice_consult:chat_id:info2:[ID]', // ID = chat_id
            'astrid_chat_id' => 'voice_consult:chat_id:astr_id:[ID]', // ID = astr_id
            'unread_num' => 'voice_consult:chat_id:unread_num:[ID]', // ID = uid  用户未读消息 总数
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],

        /**
         * 咨询师端 用户咨询会话列表
         */
        'astr_chat_id' => [
            'list' => 'voice_consult:astr_chat_id:list:[ID]',     // ID = astr_id
            'details' => 'voice_consult:astr_chat_id:info5:[ID]',  // ID = uid
            'list_details' => 'voice_consult:astr_chat_id:info5:[ID]', // ID = uid
            'astrid_uid' => 'voice_consult:astr_chat_id:uid_astr_id:[ID]', // ID = astr_id:uid
            'unread_num' => 'voice_consult:astr_chat_id:unread_num:[ID]', // ID = astr_id  咨询师未读消息 总数
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],

        /**
         * 咨询会话记录详情
         */
        'chat_details' => [
            'list' => 'voice_consult:chat_detail:list:[ID]',     // ID = chat_id
            'details' => 'voice_consult:chat_detail:info1:[ID]',  // ID = chat_detail_id
            'list_details' => 'voice_consult:chat_detail:info1:[ID]', // ID = chat_detail_id
            'today_chat_num' => 'voice_consult:chat_detail:today_chat_num:[ID]', // 今日对话次数  ID = uid
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],

        /**
         * 咨询 连线 信息
         */
        'chat_rtc' => [
            'list' => 'voice_consult:chat_rtc:list:[ID]',     // ID = uid
            'details' => 'voice_consult:chat_rtc:info1:[ID]',  // ID = 连线咨询ID
            'list_details' => 'voice_consult:chat_rtc:info1:[ID]', // ID = 连线咨询ID
            'now_rtc' => 'voice_consult:chat_rtc:now_rtc:[ID]', // ID = type:[用户uid|占星师astr_id]    type=["uid" | "astr_id"]
            'rtc_padlock' => 'voice_consult:chat_rtc:rtc_padlock:[ID]', // ID = 咨询ID
            'user_rtc_duration_data' => 'voice_consult:user_rtc_duration_data:info:[ID]', // ID = uid
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],

        /**
         * rtc连线咨询 评价
         */
        'comment' => [
            'list' => 'voice_consult:comment:list:[ID]',     // ID = astr_id
            'details' => 'voice_consult:comment:info1:[ID]',  // ID = 连线咨询ID
            'list_details' => 'voice_consult:comment:info1:[ID]', // ID = 连线咨询ID
            'expire' => $sevenTime, // 7天过期时间,
        ],

        /**
         * 用户 咨询次数
         */
        'user_consult_num' => [
            'details' => 'voice_consult:user_consult_num:info:[ID]',  // ID = uid
            'list_details' => 'voice_consult:user_consult_num:info:[ID]', // ID = uid
            'expire' => $sevenTime, // 7天过期时间,
        ],

        /**
         * 连线咨询 问题
         */
        'consult_question' => [
            'details' => 'voice_consult:consult_question:info1:[ID]', // uid
            'list_details' => 'voice_consult:consult_question:info1:[ID]', // uid
            'astro_send_num' => 'voice_consult:consult_question:astro_send_num',
            'expire' => 86400, // 1天过期时间,
        ],

        /**
         * 咨询 礼包
         */
        'consult_gift' => [
            'list' => 'voice_consult:consult_gift:list',     // ID = uid
            'details' => 'voice_consult:consult_gift:info:[ID]',  // ID = 咨询礼包id
            'list_details' => 'voice_consult:consult_gift:info:[ID]', // ID = 咨询礼包id
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 预约
         */
        'reservation' => [
            'list' => 'voice_consult:reservation:list:[ID]',     // ID = uid  用户预约列表
            'astr_list' => 'voice_consult:reservation:astr_list:[ID]', // ID = astr_id  咨询师预约列表
            'details' => 'voice_consult:reservation:info:[ID]',
            'list_details' => 'voice_consult:reservation:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 预约休息
         */
        'reservation_busy' => [
            'details' => 'voice_consult:reservation_busy:info:[ID]',     // ID = astr_id
            'list_details' => 'voice_consult:reservation_busy:info:[ID]',     // ID = astr_id
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 预约日期休息
         */
        'reservation_date_busy' => [
            'list' => 'voice_consult:reservation_date_busy:list:[ID]',     // ID = astr_id
            'expire' => $sevenTime, // 7天过期时间,
        ],
    ],
    /**
     * 准有好事
     */
    'zyhs' => [
        /**
         * 大家都问
         */
        'vrtualuser_comment' => [
            'list' => 'zyhs:vrtualuser:comment:list:[ID]',     // ID = chat_id
            'details' => 'zyhs:vrtualuser:comment:info:[ID]',  // ID = chat_detail_id
            'list_details' => 'zyhs:vrtualuser:comment:info:[ID]', // ID = chat_detail_id
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        /**
         * 咨询专区
         */
        'consult_zone' => [
            'list' => 'zyhs:consult:zone:list:[ID]',     // ID = chat_id
            'details' => 'zyhs:consult:zone:info:[ID]',  // ID = chat_detail_id
            'list_details' => 'zyhs:consult:zone:info:[ID]', // ID = chat_detail_id
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        /**
         * APP意见反馈
         */
        'app_feedback' => [
            'list' => 'zyhs:app_feedback:list:[ID]',     // ID = uid
            'details' => 'zyhs:app_feedback:info1:[ID]',  // ID = 反馈数据ID
            'list_details' => 'zyhs:app_feedback:info1:[ID]', // ID = 反馈数据ID
            'has_unread' => 'zyhs:app_feedback:has_unread:[ID]', // ID = uid  用户是否有未读消息
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        /**
         * 优质连线直播记录
         */
        'good_rtc_live_record' => [
            'details' => 'zyhs:good_rtc_live_record:info:[ID]', // 直播记录ID
            'new_record_id' => 'zyhs:good_rtc_live_record:new_record_id1',
            'list_details' => 'zyhs:good_rtc_live_record:info:[ID]', // 详情id
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 优质连线 - 录音资源信息
         */
        'good_rtc_live_media' => [
            'details' => 'zyhs:good_rtc_live_media:info:[ID]', // 资源记录ID
            'list_details' => 'zyhs:good_rtc_live_media:info:[ID]', // 资源记录ID
            'astr_case_list' => 'zyhs:good_rtc_live_media:astr_case_list:[ID]', // ID = 咨询师ID
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 优质连线直播间 - 用户禁言
         */
        'good_rtc_live_disenable_speak' => [
            'details' => 'zyhs:good_rtc_live_disenable_speak:info:[ID]', // 准有好事uid
            'list_details' => 'zyhs:good_rtc_live_disenable_speak:info:[ID]', // 准有好事uid
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * RTC免费连线 - 用户福利
         */
        'consult_rtc_user_benefits' => [
            'details' => 'zyhs:consult_rtc_user_benefits:info:[ID]', // 准有好事用户uid
            'list_details' => 'zyhs:consult_rtc_user_benefits:info:[ID]', // 准有好事用户uid
            'expire' => $threeTime, // 7天过期时间,
        ],
        /**
         * 黑名单
         */
        'blacklis' => [
            'list' => 'zyhs:blacklis:list:[ID]',     // ID = uid:[1]
            'details' => 'zyhs:blacklis:info:[ID]',  // ID = 数据ID
            'list_details' => 'zyhs:blacklis:info:[ID]', // ID = 数据ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        'interactive_message' => [
            'list' => 'zyhs:interactive_message:list:[ID]',     // ID = uid:[1]
            'details' => 'zyhs:interactive_message:info:[ID]',  // ID = 数据ID
            'list_details' => 'zyhs:interactive_message:info:[ID]', // ID = 数据ID
            'has_unread' => 'zyhs:interactive_message:has_unread:[ID]', // ID = uid:[1]  用户是否有未读消息
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        /**
         * 平行宇宙 - 内容
         */
        'pxyz_question' => [
            'list' => 'zyhs:pxyz_question:user:list:[ID]',    // 用户ID
            'unread_question' => 'zyhs:pxyz_question:unread_question:list:[ID]',    //未读问题 用户ID
            'details' => 'zyhs:pxyz_question:info:[ID]', // 咨询ID
            'list_details' => 'zyhs:pxyz_question:info:[ID]', //咨询ID
            'time_sort' => 'zyhs:pxyz_question:time_sort:list', //问答首页 时间排序
            'recommended_sort' => 'zyhs:pxyz_question:recommended_sort:list', // 推荐值排序
            'admin_recommended_top' => 'zyhs:pxyz_question:admin_recommended_top:list', // 后台推荐 强制置顶
            'admin_recommended' => 'zyhs:pxyz_question:admin_recommended:list', // 后台推荐
            'admin_recommended_read' => 'zyhs:pxyz_question:admin_recommended:read:[ID]', // ID=uid 后台推荐 以推荐
            'questions_recommended_read' => 'zyhs:pxyz_question:questions_recommended_read:[ID]', // ID=uid 系统推荐 以推荐
            'inc_base_num' => 'zyhs:pxyz_question:inc_base_num:[ID]', // 自增基数 ID=内容ID
            'base_max' => $envHost === 'online' ? 3 : 1, // 自增基数上限
            'expire' => 86400, // 1天过期时间,
            'list_expire' => 86400, //列表ids
        ],
        /**
         * 准有好事 用户 绑定 占星师信息
         */
        'astr_bind_user' => [
            'details' => 'zyhs:astr_bind_user:info',
            'list_details' => 'zyhs:astr_bind_user:info',
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 准有好事 内容 - 评论
         */
        'content_comment' => [
            'list' => 'zyhs:content_comment:list:[ID]', //ID = type【1平行宇宙】: aid【内容ID】
            'details' => 'zyhs:content_comment:info:[ID]', //  cid 评论ID
            'recommended_sort' => 'zyhs:content_comment:recommended_sort:list:[ID]', //ID = type【1平行宇宙】: aid【内容ID】
            'astr_comment_recommended_sort' => 'zyhs:content_comment:astr_comment_recommended_sort:list:[ID]', //ID = type【1平行宇宙】: aid【内容ID】
            'list_details' => 'zyhs:content_comment:info:[ID]', // cid 评论ID
            'inc_base_num' => 'zyhs:content_comment:inc_base_num:[ID]', // 自增基数 ID=评论ID
            'base_max' => $envHost === 'online' ? 3 : 1, // 自增基数上限
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 准有好事 内容 - 评论 回复
         */
        'content_comment_reply' => [
            'list' => 'zyhs:content_comment_reply:list:[ID]', //ID = 评论ID（commentId）
            'details' => 'zyhs:content_comment_reply:info:[ID]', //  commentReplyId 评论回复ID
            'list_details' => 'zyhs:content_comment_reply:info:[ID]', // commentReplyId 评论回复ID
            'inc_base_num' => 'zyhs:content_comment_reply:inc_base_num:[ID]', // 自增基数 ID=评论ID
            'base_max' => $envHost === 'online' ? 3 : 1, // 自增基数上限
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 评论/回复点赞
         */
        'content_comment_good' => [
            'list' => 'zyhs:content_comment_good:list:[ID]', // uid:ctype   ctype=>【1=》评论 2=》评论回复】
            'details' => 'zyhs:content_comment_good:info:[ID]',
            'list_details' => 'zyhs:content_comment_good:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 平行宇宙 内容 点赞
         */
        'content_good' => [
            'list' => 'zyhs:content_good:list:[ID]', // uid:atype   atype=>【1=》平行宇宙】
            'details' => 'zyhs:content_good:info:[ID]',
            'list_details' => 'zyhs:content_good:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 平行宇宙 内容 我参与的
         */
        'content_my_interacted' => [
            'list' => 'zyhs:content_my_interacted:list:[ID]', // uid:atype   atype=>【1=》平行宇宙】
            'details' => 'zyhs:content_my_interacted:info:[ID]',
            'list_details' => 'zyhs:content_my_interacted:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 平行宇宙 禁言
         */
        'no_comment' => [
            'list' => 'zyhs:no_comment:list:[ID]', // type   type=>【1=》平行宇宙】
            'expire' => $threeTime, // 3天过期时间
        ],
    ],
    /**
     * 冥想
     */
    'meditation' => [
        /**
         * 课程栏目
         */
        'category' => [
            'list' => 'meditation:category:list:[ID]',          // ID = type:[0]    type 1=>推荐 2=>专辑
            'details' => 'meditation:category:info:[ID]',       // ID = 冥想课程ID
            'list_details' => 'meditation:category:info:[ID]',  // ID = 冥想课程ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => 3600, // 1小时有效期
        ],
        /**
         * 课程章节
         */
        'section' => [
            'list' => 'meditation:section:list:[ID]',   // ID = 冥想课程ID:[0]
            'details' => 'meditation:section:info:[ID]',    // ID = 冥想课程 章节ID
            'list_details' => 'meditation:section:info:[ID]',   // ID = 冥想课程 章节ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        /**
         * 课程订阅信息
         */
        'subscribe' => [
            'list' => 'meditation:subscribe:list:[ID]',
            'details' => 'meditation:subscribe:info:[ID]',
            'list_details' => 'meditation:subscribe:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        /**
         * 课程解锁信息
         */
        'unlock_data' => [
            'list' => 'meditation:unlock_data:list:[ID]',
            'details' => 'meditation:unlock_data:info:[ID]',        // ID = uid
            'list_details' => 'meditation:unlock_data:info:[ID]',   // ID = uid
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        /**
         * 课程播放记录
         */
        'play_record' => [
            'list' => 'meditation:play_record:list:[ID]',
            'details' => 'meditation:play_record:info:[ID]',        // ID = uid:mid【冥想课程ID】
            'list_details' => 'meditation:play_record:info:[ID]',   // ID = uid:mid【冥想课程ID】
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        /**
         * 用户 每日 冥想播放时长
         */
        'today_play_duration' => [
            'list' => 'meditation:today_play_duration:list:[ID]',
            'details' => 'meditation:today_play_duration:info:[ID]',        // ID = uid:日期【20230701】
            'list_details' => 'meditation:today_play_duration:info:[ID]',   // ID = uid:日期【20230701】
            'total_data' => 'meditation:play_duration:total_data:info:[ID]',   // 统计 冥想信息 统计信息 ID = uid:日期【20230701】
            'month_total_data' => 'meditation:play_duration:month_total_data:info:[ID]',   // 统计 指定月 冥想信息 ID = uid:日期月【202307】
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
    ],
    'ai_answer' => [
        'user_ai' => [
            'details' => 'ai_answer:user_ai:info:[ID]',        // ID = uid
            'list_details' => 'ai_answer:user_ai:info:[ID]',   // ID = uid
            'expire' => $sevenTime, // 7天过期时间,
        ],
        'user_record' => [
            'list' => 'ai_answer:user_record:list:[ID]',        // ID = uid:type[1=>骰子2=>塔罗]
            'details' => 'ai_answer:user_record:info:[ID]',
            'list_details' => 'ai_answer:user_record:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间,
        ],
        'ai_prediction' => [
            'list' => 'ai_answer:ai_prediction:list:[ID]',
            'details' => 'ai_answer:ai_prediction:info:[ID]',
            'list_details' => 'ai_answer:ai_prediction:info:[ID]',
            'last_question' => 'ai_answer:ai_prediction:last_question:[ID]',
            'expire' => $sevenTime, // 7天过期时间,
        ],
    ],
    /**
     * 好准APP 会话相关
     */
    'chat' => [
        /**
         * 会话ID列表
         */
        'chat_id' => [
            'list' => 'chat:chat_id:list:[ID]',     // ID = uid
            'details' => 'chat:chat_id:info:[ID]',  // ID = chat_id
            'list_details' => 'chat:chat_id:info:[ID]', // ID = chat_id
            'uid_chat_id' => 'chat:chat_id:by_uid:[ID]', // ID = uid
            'rid_chat_id' => 'chat:chat_id:by_rid:[ID]', // ID = rid
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        /**
         * 会话记录详情
         */
        'chat_details' => [
            'list' => 'chat:chat_detail:list:[ID]',     // ID = chat_id
            'details' => 'chat:chat_detail:info:[ID]',  // ID = chat_detail_id
            'list_details' => 'chat:chat_detail:info:[ID]', // ID = chat_detail_id
            'today_chat_num' => 'chat:today_chat_num:info:[ID]', // 今日对话次数  ID = uid
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        /**
         * 会话推荐问题
         */
        'recommend_question' => [
            'list' => 'chat:recommend_question:list:[ID]',     // ID = chat_id
            'details' => 'chat:recommend_question:info:[ID]',  // ID = chat_detail_id
            'list_details' => 'chat:recommend_question:info:[ID]', // ID = chat_detail_id
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        /**
         * 会话问题缓存
         */
        'hz_question' => [
            'details' => 'chat:hz_question:info:[ID]',  // ID = qid  问题ID
            'list_details' => 'chat:hz_question:info:[ID]', // ID = qid  问题ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        /**
         * 会话问题缓存 好准数据库的数据缓存
         */
        'hz_hz_question' => [
            'details' => 'chat:hz_hz_question:info:[ID]',  // ID = qid  问题ID
            'list_details' => 'chat:hz_hz_question:info:[ID]', // ID = qid  问题ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        /**
         * 分享 增加对话次数 资格状态
         */
        'share_status' => [
            'details' => 'chat:share_status:info:[ID]',  // ID = uid
            'list_details' => 'chat:share_status:info:[ID]', // ID = uid
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        /**
         * 会话问题词条
         */
        'question_text' => [
            'details' => 'chat:question_text:info:[ID]', // 词条ID
            'list_details' => 'chat:question_text:info:[ID]', //词条ID
            'list_logic_details' => 'chat:question_text:logic_info:[ID]', //logic_id
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 会话问题词条
         */
        'hz_question_text' => [
            'details' => 'chat:hz_question_text:info:[ID]', // 词条ID
            'list_details' => 'chat:hz_question_text:info:[ID]', //词条ID
            'list_logic_details' => 'chat:hz_question_text:logic_info:[ID]', //logic_id
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 会话逻辑
         */
        'question_logic' => [
            'details' => 'chat:question_logic:info:[ID]', // qid
            'list_details' => 'chat:question_logic:info:[ID]', //qid
            'cacheType' => 'string',
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 会话逻辑
         */
        'hz_question_logic' => [
            'details' => 'chat:hz_question_logic:info:[ID]', // qid
            'list_details' => 'chat:hz_question_logic:info:[ID]', //qid
            'cacheType' => 'string',
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 用户 会话 信息
         */
        'user_chat_info' => [
            'details' => 'chat:user_chat_info:info:[ID]', // qid
            'list_details' => 'chat:user_chat_info:info:[ID]', //qid
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 默认回复问题
         */
        'default_reply_question' => [
            'details' => 'chat:default_reply_question:info:[ID]', // 词条ID
            'list_details' => 'chat:default_reply_question:info:[ID]', //词条ID
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 标签信息
         */
        'tag' => [
            'list' => 'chat:tag:list:[ID]', //评论等级 ,0=>获取全部标签
            'details' => 'chat:tag:info:[ID]', //标签id
            'list_details' => 'chat:tag:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
        /**
         * 授权码 信息
         */
        'auth_code' => [
            'details' => 'chat:auth_code:info:[ID]', // uid
            'list_details' => 'chat:auth_code:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间
        ],
        /**
         * 用户 授权信息
         */
        'user_auth_record' => [
            'details' => 'chat:user_auth_record:info:[ID]', // uid
            'list_details' => 'chat:user_auth_record:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间
        ],
        /**
         * 用户 授权信息
         */
        'user_auth_info' => [
            'details' => 'chat:user_auth_info:info:[ID]', // uid
            'list_details' => 'chat:user_auth_info:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间
        ],
        /**
         * 免费次数 使用统计
         */
        'user_free_num' => [
            'details' => 'chat:user_free_num:info:[ID]',  // ID = uid
            'list_details' => 'chat:user_free_num:info:[ID]', // ID = uid
            'expire' => $sevenTime, // 7天过期时间,
        ],
        /**
         * 语音会话ID列表
         */
        'call_chat_id' => [
            'list' => 'chat:call_chat_id:list:[ID]',     // ID = uid
            'details' => 'chat:call_chat_id:info:[ID]',  // ID = chat_id
            'list_details' => 'chat:call_chat_id:info:[ID]', // ID = chat_id
            'uid_chat_id' => 'chat:call_chat_id:by_uid:[ID]', // ID = uid
            'rid_chat_id' => 'chat:call_chat_id:by_rid:[ID]', // ID = rid
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        /**
         * 语音会话记录详情
         */
        'call_chat_details' => [
            'list' => 'chat:call_chat_details:list:[ID]',     // ID = chat_id
            'details' => 'chat:call_chat_details:info:[ID]',  // ID = chat_detail_id
            'list_details' => 'chat:call_chat_details:info:[ID]', // ID = chat_detail_id
            'today_chat_num' => 'chat:call_today_chat_num:info:[ID]', // 今日对话次数  ID = uid
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        /**
         * 用户 语音会话 信息
         */
        'user_call_chat_info' => [
            'details' => 'chat:user_call_chat_info:info:[ID]', // uid
            'list_details' => 'chat:user_call_chat_info:info:[ID]', //uid
            'expire' => $sevenTime, // 7天过期时间,
        ],
    ],
    /**
     * 微信公众号
     */
    'wechat_h5' => [
        // 用户信息
        'user' => [
            'details' => 'wechat_h5:user:info:[ID]',    // ID = uid 【公众号的用户uid】
            'list_details' => 'wechat_h5:user:info:[ID]',    // ID = uid 【公众号的用户uid】
            'expire' => $sevenTime, // 7天过期时间
        ],
        // 祈福信息
        'bless' => [
            'details' => 'wechat_h5:bless:info:[ID]',   // ID = uid:date 【公众号的用户uid】:20240320
            'list_details' => 'wechat_h5:bless:info:[ID]',  // ID = uid:date 【公众号的用户uid】:20240320
            'expire' => $sevenTime, // 7天过期时间
        ],
        // 灵签信息
        'user_cards' => [
            'details' => 'wechat_h5:lingqian:user_cards:info:[ID]',        // ID = uid
            'list_details' => 'wechat_h5:lingqian:user_cards:info:[ID]',    // ID = uid
            'today_is_draw' => 'wechat_h5:lingqian:today_is_draw:info:[ID]',    //  ID = uid:date 【公众号的用户uid】:20240320
            'card_complete' => 'wechat_h5:card_complete:info:[ID]',  // 卡片凑齐信息 ID = 202403
            'card_complete_win_date' => 'wechat_h5:card_complete:win_date:[ID]',  // 卡片可凑齐日期 ID = 202403
            'expire' => $sevenTime, // 7天过期时间
        ],
    ],
    /**
     * 后天星座 模块
     */
    'acquired_astro' => [
        // 后天星盘 测试题
        'exercise_question' => [
            'list' => 'acquired_astro:exercise_question:list:[ID]', // ID = 分类[0]
            'details' => 'acquired_astro:exercise_question:info:[ID]',    // ID=问题ID
            'list_details' => 'acquired_astro:exercise_question:info:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
        // 后天星盘 答题记录
        'exercise_answer_record' => [
            'details' => 'acquired_astro:exercise_answer_record:info:[ID]',    // ID=用户ID
            'list_details' => 'acquired_astro:exercise_answer_record:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间
        ],
        // 后天星盘 测试结果记录
        'exercise_test_record' => [
            'list' => 'acquired_astro:exercise_test_record:list:[ID]', // ID = 用户ID[0]
            'details' => 'acquired_astro:exercise_test_record:info:[ID]',    // ID=用户ID
            'list_details' => 'acquired_astro:exercise_test_record:info:[ID]',
            'delay_test' => 'acquired_astro:exercise_delay_test:info:[ID]', // ID = 用户ID
            'expire' => $sevenTime, // 7天过期时间
        ],
    ],
    /**
     * AI 星愈聊天室 陪聊
     */
    'ai_chat_room' => [
        //  聊天室 标签信息
        'chat_tag' => [
            'details' => 'ai_chat_room:chat_tag:info:[ID]',    // ID=聊天室类型 1=>虚拟恋人 2=>情感倾诉 3=>情绪困扰 4=>人际关系 5=>工作压力 6=>秘密树洞
            'list_details' => 'ai_chat_room:chat_tag:info:[ID]',
            'title_options' => 'ai_chat_room:chat_tag:title_options:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间
        ],
        // 聊天室 配置信息
        'chat_config' => [
            'details' => 'ai_chat_room:chat_config:info:[ID]',    // ID=聊天室类型 1=>虚拟恋人 2=>情感倾诉 3=>情绪困扰 4=>人际关系 5=>工作压力 6=>秘密树洞
            'list_details' => 'ai_chat_room:chat_config:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间
        ],
        // 聊天室 剧情信息
        'chat_story_line' => [
            'details' => 'ai_chat_room:chat_story_line:info:[ID]',    // ID=剧情ID
            'list_details' => 'ai_chat_room:chat_story_line:info:[ID]',
            'change_story_line_num' => 'ai_chat_room:change_story_line_num:info:[ID]', // ID = date:uid
            'expire' => $sevenTime, // 7天过期时间
        ],
        // 聊天室 开头语
        'chat_first_txt' => [
            'details' => 'ai_chat_room:chat_first_txt:info:[ID]',    // ID=剧情ID
            'list_details' => 'ai_chat_room:chat_first_txt:info:[ID]',
            'first_txt_ids' => 'ai_chat_room:chat_first_txt:first_txt_ids:info:[ID]', // ID = 53_84_86_93
            'expire' => $sevenTime, // 7天过期时间
        ],
        // 聊天室 用户最后会话时间记录
        'chat_last_send_time_record' => [
            'details' => 'ai_chat_room:chat_last_send_time_record:info:[ID]',    // ID=uid
            'list_details' => 'ai_chat_room:chat_last_send_time_record:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间
        ],
        /**
         * 会话ID列表
         */
        'chat_id' => [
            'list' => 'ai_chat_room:chat_id:list:[ID]',     // ID = uid
            'details' => 'ai_chat_room:chat_id:info:[ID]',  // ID = chat_id
            'list_details' => 'ai_chat_room:chat_id:info:[ID]', // ID = chat_id
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        /**
         * 会话记录详情
         */
        'chat_details' => [
            'list' => 'ai_chat_room:chat_detail:list:[ID]',     // ID = chat_id
            'details' => 'ai_chat_room:chat_detail:info:[ID]',  // ID = chat_detail_id
            'list_details' => 'ai_chat_room:chat_detail:info:[ID]', // ID = chat_detail_id
            'today_chat_num' => 'ai_chat_room:today_chat_num:info:[ID]', // 今日对话次数  ID = uid
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $oneMonthTime, //列表ids
        ],
        // 聊天室 用户可陪聊时长信息
        'chat_user_duration' => [
            'details' => 'ai_chat_room:chat_user_duration:info:[ID]',    // ID=uid
            'list_details' => 'ai_chat_room:chat_user_duration:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间
        ],
        // 聊天室 用户可陪聊时长变更记录
        'user_duration_change_record' => [
            'details' => 'ai_chat_room:user_duration_change_record:info:[ID]',
            'vip_use_duration' => 'ai_chat_room:vip_use_duration:info:[ID]', // ID = uid:date【date=20240820】
            'task_suc_record' => 'ai_chat_room:task_suc_record:info:[ID]', // ID = uid
            'list_details' => 'ai_chat_room:user_duration_change_record:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间
        ],
    ],
    /**
     * 脉轮 小程序
     */
    'chakra' => [
        // 用户信息
        'user_info' => [
            'details' => 'chakra:user_info:info:[ID]',    // ID = uid
            'list_details' => 'chakra:user_info:info:[ID]',    // ID = uid
            'expire' => $sevenTime, // 7天过期时间
        ],
        //  脉轮测试记录
        'test_record' => [
            'list' => 'chakra:test_record:list:[ID]', // ID = uid
            'details' => 'chakra:test_record:info:[ID]',    // ID = 测试记录ID
            'list_details' => 'chakra:test_record:info:[ID]',
            'last_test_data' => 'chakra:last_test_data:info:[ID]', // ID = 用户ID
            'expire' => $sevenTime, // 7天过期时间
        ],
        //  水晶好物 分类信息
        'crystal_goods_type' => [
            'details' => 'chakra:crystal_goods_type:info',
            'list_details' => 'chakra:crystal_goods_type:info',
            'cacheType' => 'string',
            'expire' => $sevenTime, // 7天过期时间
        ],
        //  水晶好物 商品信息
        'crystal_goods' => [
            'list' => 'chakra:crystal_goods:list', //
            'details' => 'chakra:crystal_goods:info:[ID]',    // ID = 商品ID
            'list_details' => 'chakra:crystal_goods:info:[ID]',
            'expire' => $sevenTime, // 7天过期时间
        ],
    ],
    /**
     * 八字起名
     */
    'name_analyze' => [
        /**
         * 备份档案
         */
        'recode_back' => [
            'details' => 'name_analyze:recode_back:[ID]',// ID=备份档案ID
            'list_details' => 'name_analyze:recode_back:[ID]',
            'expire' => $sevenTime, // 7天过期时间
        ],
        /**
         * 姓名八字 - 名字评分
         */
        'name_analyze_record' => [
            'list' => 'name_analyze:name_analyze_record:list:[ID]',    // ID=用户ID[0]
            'details' => 'name_analyze:name_analyze_record:info:[ID]', // 名字评分记录ID
            'list_details' => 'name_analyze:name_analyze_record:info:[ID]', // 名字评分记录ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $sevenTime, //列表ids
        ],
        /**
         * 姓名八字 - 个人｜公司 起名结果
         */
        'create_name_record' => [
            'list' => 'name_analyze:create_name_record:list:[ID]',    // ID=用户ID[0]
            'details' => 'name_analyze:create_name_record:info:[ID]', // 起名记录ID
            'list_details' => 'name_analyze:create_name_record:info:[ID]', // 起名记录ID
            'expire' => $sevenTime, // 7天过期时间,
            'list_expire' => $sevenTime, //列表ids
        ],
    ],
    /**
     * 紫微斗数
     */
    'ziwei' => [
        /**
         * 排盘设置
         */
        'config' => [
            'details' => 'ziwei:config:[ID]',// ID=UID 例如：ziwei:config:2
            'list_details' => 'ziwei:config:[ID]',
            'expire' => $threeTime, // 3天过期时间
        ],
    ],
];
